Author: mrisaliti
Date: Mon Feb 7 20:50:33 2011
New Revision: 1068125
URL:
http://svn.apache.org/viewvc?rev=1068125&view=revLog:
Remove compilation warnings of an unused variable in ComparableRangeTests (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java?rev=1068125&r1=1068124&r2=1068125&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java Mon Feb 7 20:50:33 2011
@@ -38,7 +38,7 @@ public class ComparableRangeTests extend
new ComparableRange<R>(right, right);
IllegalArgumentException caught = null;
try {
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({"unchecked", "unused"})
ComparableRange<?> range = new ComparableRange(left, right);
} catch (IllegalArgumentException e) {
caught = e;
@@ -47,7 +47,7 @@ public class ComparableRangeTests extend
}
caught = null;
try {
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({"unchecked", "unused"})
ComparableRange<?> range = new ComparableRange(right, left);
} catch (IllegalArgumentException e) {
caught = e;