[nobug] Cleaned up unused imports and unread locals
diff --git a/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/KindTestSITest.java b/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/KindTestSITest.java
index 5b99a83..7d5b35e 100644
--- a/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/KindTestSITest.java
+++ b/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/KindTestSITest.java
@@ -12,8 +12,6 @@
package org.eclipse.wst.xml.xpath2.processor.test;
import java.net.URL;
-import java.util.Arrays;
-import java.util.List;
import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;
diff --git a/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/TestBugs.java b/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/TestBugs.java
index 7992cda..3b5e33b 100644
--- a/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/TestBugs.java
+++ b/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/TestBugs.java
@@ -1707,7 +1707,7 @@
boolean testSuccess = false;
try {
- ResultSequence rs = eval.evaluate(path);
+ eval.evaluate(path);
}
catch(DynamicError ex) {
// a 'DynamicError' exception indicates, that this test is a success
@@ -1744,7 +1744,7 @@
DynamicContext dc = setupDynamicContext(schema);
String xpath = "/element/attribute";
- XPath path = compileXPath(dc, xpath);
+ compileXPath(dc, xpath);
}
}
diff --git a/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/testsuite/functions/SeqCollectionFuncTest.java b/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/testsuite/functions/SeqCollectionFuncTest.java
index 44de2d1..501dbef 100644
--- a/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/testsuite/functions/SeqCollectionFuncTest.java
+++ b/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/testsuite/functions/SeqCollectionFuncTest.java
@@ -15,7 +15,6 @@
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
-import java.util.List;
import org.apache.xerces.xs.XSModel;
import org.eclipse.wst.xml.xpath2.processor.*;