[Schmitzm-commits] r527 - branches/1.0-gt2-2.6/src/skrueger/geotools/selection

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 18 21:45:25 CET 2009


Author: alfonx
Date: 2009-11-18 21:45:24 +0100 (Wed, 18 Nov 2009)
New Revision: 527

Modified:
   branches/1.0-gt2-2.6/src/skrueger/geotools/selection/StyledLayerSelectionModel.java
Log:
removeSelectionListener now returns a boolean

Modified: branches/1.0-gt2-2.6/src/skrueger/geotools/selection/StyledLayerSelectionModel.java
===================================================================
--- branches/1.0-gt2-2.6/src/skrueger/geotools/selection/StyledLayerSelectionModel.java	2009-11-18 15:45:01 UTC (rev 526)
+++ branches/1.0-gt2-2.6/src/skrueger/geotools/selection/StyledLayerSelectionModel.java	2009-11-18 20:45:24 UTC (rev 527)
@@ -237,8 +237,8 @@
    * Removes a listener from the listener list. Only alias for {@link #removeListener(PropertyChangeListener)}.
    * @param listener a listener
    */
-  public void removeSelectionListener(StyledLayerSelectionModelSynchronizer<StyledLayerSelectionModel<E>> listener) {
-    this.removeListener(listener);
+  public boolean removeSelectionListener(StyledLayerSelectionModelSynchronizer<StyledLayerSelectionModel<E>> listener) {
+    return this.removeListener(listener);
   }
 
 public StyledLayerInterface<?> getStyledLayer() {



More information about the Schmitzm-commits mailing list