Description
org.apache.sis.storage.WritableFeatureSet currently contains the following method:
boolean removeIf(Predicate<? super Feature> filter) throws DataStoreException;
The boolean return type may need to be removed. It currently exists for compatibility with the Collection.removeIf(Predicate) method in case an implementation chooses to implement WritableFeatureSet and java.util.Collection in same time. But this is not recommended, and the current method signature is a blocker for deferred method execution. Telling if there is any feature to remove requires immediate execution of the filter, while an implementation may want to wait in case the filtering can be combined with other operations such as add(…) or replaceIf(…).