public void removeSnapshots ( ) { VersionList versionToRemove = new VersionList ( ) ; // collect Versions to be removed for ( Version ver : this ) { if ( ver . isSnapshot ( ) ) { versionToRemove . add ( ver ) ; } } // remove them this . removeAll ( versionToRemove ) ; }
Removes all snapshots from this list