summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/container/_XIndexAccess.java')
-rw-r--r--qadevOOo/tests/java/ifc/container/_XIndexAccess.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
index fcdd33b416e6..396635f642b5 100644
--- a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
+++ b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
@@ -81,8 +81,6 @@ public class _XIndexAccess extends MultiMethodTest {
catch(java.lang.InterruptedException e) {}
boolean result = true;
- boolean loc_result = true;
- Object o = null;
log.println("Testing getByIndex()");
if (count > 0) {
@@ -102,7 +100,7 @@ public class _XIndexAccess extends MultiMethodTest {
log.println("Testing getByIndex with wrong params.");
try {
log.println("getByIndex(" + count + ")");
- loc_result = oObj.getByIndex(count) == null;
+ oObj.getByIndex(count);
log.println("no exception thrown - FAILED");
result = false;
} catch (IndexOutOfBoundsException e) {