sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jso...@apache.org
Subject svn commit: r1807359 - /sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/FeatureSet.java
Date Tue, 05 Sep 2017 14:52:51 GMT
Author: jsorel
Date: Tue Sep  5 14:52:51 2017
New Revision: 1807359

URL: http://svn.apache.org/viewvc?rev=1807359&view=rev
Log:
FeatureSet : add missing boolean return value on removeIf method

Modified:
    sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/FeatureSet.java

Modified: sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/FeatureSet.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/FeatureSet.java?rev=1807359&r1=1807358&r2=1807359&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/FeatureSet.java
[UTF-8] (original)
+++ sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/FeatureSet.java
[UTF-8] Tue Sep  5 14:52:51 2017
@@ -128,9 +128,10 @@ public interface FeatureSet extends Data
      * the given predicate.
      *
      * @param predicate matching predicate
+     * @return true if any elements were removed
      * @throws DataStoreException if an error occurred while removing features.
      */
-    default void removeIf(Predicate<? super Feature> predicate) throws DataStoreException
{
+    default boolean removeIf(Predicate<? super Feature> predicate) throws DataStoreException
{
         throw new ReadOnlyDataStoreException(null,Resources.Keys.StoreIsReadOnly);
     }
 



Mime
View raw message