From: <svn...@os...> - 2012-06-24 14:42:02
|
Author: jive Date: 2012-06-24 07:41:56 -0700 (Sun, 24 Jun 2012) New Revision: 38831 Modified: trunk/modules/library/api/src/main/java/org/geotools/feature/FeatureCollection.java Log: depreacte CollectionListener methods Modified: trunk/modules/library/api/src/main/java/org/geotools/feature/FeatureCollection.java =================================================================== --- trunk/modules/library/api/src/main/java/org/geotools/feature/FeatureCollection.java 2012-06-24 14:41:39 UTC (rev 38830) +++ trunk/modules/library/api/src/main/java/org/geotools/feature/FeatureCollection.java 2012-06-24 14:41:56 UTC (rev 38831) @@ -190,6 +190,7 @@ * * @param listener The listener to add * @throws NullPointerException If the listener is null. + * @deprecated Use {@link FeatureSource#addFeatureListener} to monitor change */ void addListener(CollectionListener listener) throws NullPointerException; @@ -198,6 +199,7 @@ * * @param listener The listener to remove * @throws NullPointerException If the listener is null. + * @deprecated Use {@link FeatureSource#removeFeatureListener} to monitor change */ void removeListener(CollectionListener listener) throws NullPointerException; |