From: Bryan T. <tho...@us...> - 2007-12-01 11:01:37
|
Update of /cvsroot/cweb/generic-native/src/test/org/CognitiveWeb/generic/core/ndx In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28807/src/test/org/CognitiveWeb/generic/core/ndx Modified Files: TestComparators.java Log Message: removed autobox for 1.4 compatibility Index: TestComparators.java =================================================================== RCS file: /cvsroot/cweb/generic-native/src/test/org/CognitiveWeb/generic/core/ndx/TestComparators.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TestComparators.java 30 Nov 2007 21:54:06 -0000 1.1 --- TestComparators.java 1 Dec 2007 11:01:33 -0000 1.2 *************** *** 74,82 **** public void test_intComparator() { ! final int lmin = Integer.MIN_VALUE; ! final int lm1 = -1; ! final int l0 = 0; ! final int lp1 = 1; ! final int lmax = Integer.MAX_VALUE; // values out of order. --- 74,82 ---- public void test_intComparator() { ! final Integer lmin = new Integer(Integer.MIN_VALUE); ! final Integer lm1 = new Integer(-1); ! final Integer l0 = new Integer(0); ! final Integer lp1 = new Integer(1); ! final Integer lmax = new Integer(Integer.MAX_VALUE); // values out of order. *************** *** 99,107 **** public void test_longComparator() { ! final long lmin = Long.MIN_VALUE; ! final long lm1 = -1L; ! final long l0 = 0L; ! final long lp1 = 1L; ! final long lmax = Long.MAX_VALUE; // values out of order. --- 99,107 ---- public void test_longComparator() { ! final Long lmin = new Long(Long.MIN_VALUE); ! final Long lm1 = new Long(-1L); ! final Long l0 = new Long(0L); ! final Long lp1 = new Long(1L); ! final Long lmax = new Long(Long.MAX_VALUE); // values out of order. |