# HG changeset patch # User Björn Ricks # Date 1355757389 -3600 # Node ID 5411975223f079543f183c833bba58f4cfed1e4c # Parent a91d3bde7255e2cb59086b5bb6180aef04df9ce5 Change only local used methods to private ones Be clear that these methods are only private api of the ProjectList class. diff -r a91d3bde7255 -r 5411975223f0 flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Mon Dec 17 16:15:05 2012 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Mon Dec 17 16:16:29 2012 +0100 @@ -642,7 +642,7 @@ /** * Delete all entries in the ListGrid. */ - protected void clearGrid() { + private void clearGrid() { ListGridRecord[] records = grid.getRecords(); for (ListGridRecord record: records) { @@ -658,7 +658,7 @@ * * @param c Collections to set to the data source. */ - protected void updateGridDataSource (Collection[] c) { + private void updateGridDataSource(Collection[] c) { collections.clear(); if(c == null) { clearGrid(); @@ -674,7 +674,7 @@ /** * Updates the ListGrid. */ - protected void updateGrid() { + private void updateGrid() { clearGrid(); if (filteredCollections == null || @@ -854,7 +854,7 @@ /** * Clone a project (collection). */ - protected void cloneArtifact(final String uuid, Collection newCollection) { + private void cloneArtifact(final String uuid, Collection newCollection) { Config config = Config.getInstance(); final String locale = config.getLocale(); @@ -925,7 +925,7 @@ newColl.setName(messages.copy_of() + ": " + name); - updateCollectionName(newColl); + updateCollectionName(newColl, colname); if(cloneCollection.getTTL() == 0) { newColl.setTTL(0); updateCollectionTTL(newColl);