commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r882950 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/RangeTest.java
Date Sat, 21 Nov 2009 18:11:07 GMT
Author: sebb
Date: Sat Nov 21 18:11:07 2009
New Revision: 882950

URL: http://svn.apache.org/viewvc?rev=882950&view=rev
Log:
Fix most Eclipse warnings

Modified:
    commons/proper/lang/trunk/src/test/org/apache/commons/lang/RangeTest.java

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/RangeTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/RangeTest.java?rev=882950&r1=882949&r2=882950&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/RangeTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/RangeTest.java Sat Nov 21 18:11:07
2009
@@ -26,17 +26,19 @@
  * 
  * @version $Id: RangeTest.java 754804 2009-03-16 02:06:18Z sebb $
  */
+@SuppressWarnings("boxing")
 public class RangeTest extends TestCase {
 
-    private Range byteRange;
-    private Range byteRange2;
-    private Range byteRange3;
+    private Range<Byte> byteRange;
+    private Range<Byte> byteRange2;
+    private Range<Byte> byteRange3;
 
     private Range<Integer> intRange;
     private Range<Long> longRange;
     private Range<Float> floatRange;
     private Range<Double> doubleRange;
 
+    @SuppressWarnings("cast") // intRange
     @Override
     public void setUp() {
         byteRange   = Range.between((byte) 0, (byte) 5);



Mime
View raw message