[Schmitzm-commits] r525 - branches/1.0-gt2-2.6/src/schmitzm/swing/event
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Nov 18 16:41:35 CET 2009
Author: alfonx
Date: 2009-11-18 16:41:33 +0100 (Wed, 18 Nov 2009)
New Revision: 525
Modified:
branches/1.0-gt2-2.6/src/schmitzm/swing/event/PropertyChangeEmitter.java
Log:
* removeListener now return a boolean instead of void
Modified: branches/1.0-gt2-2.6/src/schmitzm/swing/event/PropertyChangeEmitter.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/swing/event/PropertyChangeEmitter.java 2009-11-18 09:56:47 UTC (rev 524)
+++ branches/1.0-gt2-2.6/src/schmitzm/swing/event/PropertyChangeEmitter.java 2009-11-18 15:41:33 UTC (rev 525)
@@ -58,8 +58,8 @@
* Removes a listener from the listener list.
* @param listener a listener
*/
- public void removeListener(E listener) {
- listenerList.remove(listener);
+ public boolean removeListener(E listener) {
+ return listenerList.remove(listener);
}
/**
More information about the Schmitzm-commits
mailing list