commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1175055 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RetainMatching.java
Date Fri, 23 Sep 2011 22:24:55 GMT
Author: simonetripodi
Date: Fri Sep 23 22:24:55 2011
New Revision: 1175055

URL: http://svn.apache.org/viewvc?rev=1175055&view=rev
Log:
removeMatching field can be final

Modified:
    commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RetainMatching.java

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RetainMatching.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RetainMatching.java?rev=1175055&r1=1175054&r2=1175055&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RetainMatching.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RetainMatching.java
Fri Sep 23 22:24:55 2011
@@ -42,7 +42,7 @@ public final class RetainMatching<T>
     /**
      * The {@code RemoveMatching} instance used to remove elements from input iterator.
      */
-    private RemoveMatching<T> removeMatching = new RemoveMatching<T>();
+    private final RemoveMatching<T> removeMatching = new RemoveMatching<T>();
 
     /**
      * {@inheritDoc}



Mime
View raw message