summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-12 14:05:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-12-15 12:36:40 +0000
commit454ddddd9995ad7c6f865729d160814f5a9f093a (patch)
tree15b5ee999ec504002cc727284aea0882cc82b01e /javaunohelper
parentf8fbef265329dc2e6e153d22c0a3317fdc0789e1 (diff)
java: remove some unused fields and variables
Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7 Reviewed-on: https://gerrit.libreoffice.org/13477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java2
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java2
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
index f074694e8caf..083e855fa581 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
@@ -602,7 +602,7 @@ public class PropertySet_Test
cl.anyPropA= null;
cl.propAnyA.Attributes= PropertyAttribute.MAYBEVOID;
- Type _t= new Type(Object.class);
+ new Type(Object.class);
cl.setPropertyValue("PropAnyA", null);
assertEquals(cl.anyPropA.getType(), new Type(void.class));
assertNull(cl.anyPropA.getObject());
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java
index 28a277994bac..cfce044c5f06 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java
@@ -43,7 +43,7 @@ public class ProxyProvider
return retVal;
Type type= new Type(TypeDescription.getTypeDescription(iface));
- Type evtType= new Type(TypeDescription.getTypeDescription(com.sun.star.lang.XEventListener.class));
+ new Type(TypeDescription.getTypeDescription(com.sun.star.lang.XEventListener.class));
// find the object identifier
String sOid= UnoRuntime.generateOid(obj);
retVal= env.getRegisteredInterface(sOid, type);
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java
index 8e07a2bf8bca..a649f1682ffc 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java
@@ -67,7 +67,7 @@ public class WeakBase_Test
Type[] t1= f1.getTypes();
Type[] t2= f2.getTypes();
assertArrayEquals(t1, t2);
- Foo2 f3= new Foo2();
+ new Foo2();
}
@Test public void queryAdapter() throws Exception