summaryrefslogtreecommitdiff
path: root/javaunohelper/test
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 11:30:20 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:16 +0200
commite7a474b29ad87c03bdc3253cc62521b8af3a93e0 (patch)
tree653452cc25dbe5fb2a9cc36e59f7a95ceed8f17c /javaunohelper/test
parent27459c71ef5f6f27749de36334e8a20fe4731e62 (diff)
java: remove unused variables
Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
Diffstat (limited to 'javaunohelper/test')
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java30
1 files changed, 14 insertions, 16 deletions
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
index e8bef98a427c..331c37618b1c 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
@@ -167,14 +167,13 @@ public class MultiTypeInterfaceContainer_Test
boolean r[]= new boolean[50];
int i= 0;
- int ci= 0;
- ci= cont.addInterface(new Type(XInterface.class), obj1);
- ci= cont.addInterface(new Type(XInterface.class), obj2);
- ci= cont.addInterface(new Type(XInterface.class), obj3);
- ci= cont.addInterface(new Type(XWeak.class), obj1);
- ci= cont.addInterface(new Type(XWeak.class), obj2);
- ci= cont.addInterface(null, obj1);
- ci= cont.addInterface(new Type(XTypeProvider.class), null);
+ cont.addInterface(new Type(XInterface.class), obj1);
+ cont.addInterface(new Type(XInterface.class), obj2);
+ cont.addInterface(new Type(XInterface.class), obj3);
+ cont.addInterface(new Type(XWeak.class), obj1);
+ cont.addInterface(new Type(XWeak.class), obj2);
+ cont.addInterface(null, obj1);
+ cont.addInterface(new Type(XTypeProvider.class), null);
InterfaceContainer icont= null;
icont= cont.getContainer( new Type(XTypeProvider.class));
@@ -239,14 +238,13 @@ public class MultiTypeInterfaceContainer_Test
cont.clear();
Type[] types= cont.getContainedTypes();
r[i++]= types.length == 0;
- int ci;
- ci= cont.addInterface(new Type(XInterface.class), obj1);
- ci= cont.addInterface(new Type(XInterface.class), obj2);
- ci= cont.addInterface(new Type(XInterface.class), obj3);
- ci= cont.addInterface(new Type(XWeak.class), obj1);
- ci= cont.addInterface(new Type(XWeak.class), obj2);
- ci= cont.addInterface(null, obj1);
- ci= cont.addInterface(new Type(XTypeProvider.class), null);
+ cont.addInterface(new Type(XInterface.class), obj1);
+ cont.addInterface(new Type(XInterface.class), obj2);
+ cont.addInterface(new Type(XInterface.class), obj3);
+ cont.addInterface(new Type(XWeak.class), obj1);
+ cont.addInterface(new Type(XWeak.class), obj2);
+ cont.addInterface(null, obj1);
+ cont.addInterface(new Type(XTypeProvider.class), null);
types= cont.getContainedTypes();
r[i++]= types.length == 3;
cont.clear();