summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-08-20 16:17:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-20 16:34:39 +0100
commitf72ff01dd3af4dab11b6e8b9a2910553e802e2fe (patch)
tree4106d368cf2e1fa2e8d9a99c9ca972df82a74695 /javaunohelper
parentfa4966a15c02c435534662b51f45cac51728640d (diff)
Remove dead java code, fields and local variables
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/com/sun/star/comp/JavaUNOHelperServices.java3
-rw-r--r--javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java2
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java2
3 files changed, 0 insertions, 7 deletions
diff --git a/javaunohelper/com/sun/star/comp/JavaUNOHelperServices.java b/javaunohelper/com/sun/star/comp/JavaUNOHelperServices.java
index 69cbc0ec4fc3..7ed846e2b9a7 100644
--- a/javaunohelper/com/sun/star/comp/JavaUNOHelperServices.java
+++ b/javaunohelper/com/sun/star/comp/JavaUNOHelperServices.java
@@ -29,9 +29,6 @@ import com.sun.star.comp.juhtest.SmoketestCommandEnvironment;
*/
public class JavaUNOHelperServices {
- static private final String __service_smoketestCommandEnv =
- "com.sun.star.deployment.test.SmoketestCommandEnvironment";
-
/**
* Gives a factory for creating the service.
* This method is called by the <code>JavaLoader</code>
diff --git a/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java b/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java
index b3f7b24c41c5..ca401532fc97 100644
--- a/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java
+++ b/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToByteArrayAdapter.java
@@ -40,7 +40,6 @@ public class XOutputStreamToByteArrayAdapter
private int size = 0;
private int position = 0;
private boolean externalBuffer = false;
- private boolean closed = false;
private byte[] buffer;
/** Creates a new instance of ByteArrayXOutputStream */
@@ -77,7 +76,6 @@ public class XOutputStreamToByteArrayAdapter
System.arraycopy(buffer, 0, newBuffer, 0, position);
buffer = newBuffer;
}
- closed = true;
}
public void flush()
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 fbf9035dc683..1992ceb1094a 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
@@ -1125,7 +1125,6 @@ class TestClass extends PropertySet
boolean boolPropC;
public Property propBoolD= new Property("PropBoolD", 301, new Type(Boolean.TYPE), (short) 0);
- private boolean boolPropD;
public Property propBoolClass= new Property("PropBoolClass", 1001, new Type(Boolean.class), (short) 0);
public Boolean boolClassProp;
@@ -1453,7 +1452,6 @@ class TestClass extends PropertySet
enumPropertyState = com.sun.star.beans.PropertyState.DEFAULT_VALUE;
boolPropB= false;
boolPropC= false;
- boolPropD= false;
boolClassProp= null;
charClassProp= null;
byteClassProp= null;