Remove compilation warnings of an unused variable in ComparableRangeTests (OFBIZ-4102)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068125 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marco Risaliti
2011-02-07 20:50:33 +00:00
parent 4ea2300f38
commit e386c63015
@@ -38,7 +38,7 @@ public class ComparableRangeTests extends GenericTestCaseBase {
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 extends GenericTestCaseBase {
}
caught = null;
try {
@SuppressWarnings("unchecked")
@SuppressWarnings({"unchecked", "unused"})
ComparableRange<?> range = new ComparableRange(right, left);
} catch (IllegalArgumentException e) {
caught = e;