From: Tim P <ti...@us...> - 2008-11-13 00:02:34
|
Update of /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23879/test/unit/org/webmacro/template Modified Files: TestArithmetic.java Log Message: Unnecessary cast Index: TestArithmetic.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template/TestArithmetic.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TestArithmetic.java 12 Jun 2003 00:47:49 -0000 1.4 --- TestArithmetic.java 13 Nov 2008 00:02:26 -0000 1.5 *************** *** 26,30 **** for (int i = 0; i < N; i++) { ! c.put(integers[i], new Integer((int) values[i])); c.put(longs[i], new Long(values[i])); c.put(shorts[i], new Short((short) values[i])); --- 26,30 ---- for (int i = 0; i < N; i++) { ! c.put(integers[i], new Integer(values[i])); c.put(longs[i], new Long(values[i])); c.put(shorts[i], new Short((short) values[i])); |