Mercurial > dive4elements > river
changeset 4694:5411975223f0
Change only local used methods to private ones
Be clear that these methods are only private api of the ProjectList class.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 17 Dec 2012 16:16:29 +0100 (2012-12-17) |
parents | a91d3bde7255 |
children | 139cf1f9a22c |
files | flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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);