commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r643884 - /commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/BaseBinaryChop.java
Date Wed, 02 Apr 2008 12:43:48 GMT
Author: sebb
Date: Wed Apr  2 05:43:47 2008
New Revision: 643884

URL: http://svn.apache.org/viewvc?rev=643884&view=rev
Log:
constants need to be final ...

Modified:
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/BaseBinaryChop.java

Modified: commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/BaseBinaryChop.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/BaseBinaryChop.java?rev=643884&r1=643883&r2=643884&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/BaseBinaryChop.java
(original)
+++ commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/BaseBinaryChop.java
Wed Apr  2 05:43:47 2008
@@ -51,7 +51,7 @@
         return compare(list,index,obj) == 0;
     }
     
-    protected static Integer NEGATIVE_ONE = new Integer(-1);
+    protected static final Integer NEGATIVE_ONE = new Integer(-1);
     
     public abstract int find(Object seeking, List in);
 } 



Mime
View raw message