diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-04 16:12:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-05 11:31:49 +0200 |
commit | f124688cfdfbe96ff2be5ab44ea5023725548146 (patch) | |
tree | 4874bf2b2504979b9733f200e05b68034c7eaefe /bean | |
parent | java: remove unused import (diff) | |
download | core-f124688cfdfbe96ff2be5ab44ea5023725548146.tar.gz core-f124688cfdfbe96ff2be5ab44ea5023725548146.zip |
java: remove various unused variables
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
Diffstat (limited to 'bean')
-rw-r--r-- | bean/com/sun/star/beans/LocalOfficeWindow.java | 1 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/OOoBean.java | 3 | ||||
-rw-r--r-- | bean/qa/complex/bean/OOoBeanTest.java | 1 | ||||
-rw-r--r-- | bean/test/applet/oooapplet/OOoViewer.java | 2 |
4 files changed, 1 insertions, 6 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java index bb58b656dcdd..22bb02f3d183 100644 --- a/bean/com/sun/star/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/beans/LocalOfficeWindow.java @@ -270,7 +270,6 @@ public class LocalOfficeWindow void cancel() throws java.lang.InterruptedException { - Thread aThread = aWatchedThread; aWatchedThread = null; stop(); diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index 1da6646d6daa..4f60fb8375af 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -1453,11 +1453,10 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); dbgPrint( "EventListener(" + aTag + ").running() #" + ++n ); // still alive? - com.sun.star.lang.XMultiComponentFactory xServiceManager = null; try { // an arbitrary (but cheap) call into OOo - xServiceManager = iConnection.getComponentContext().getServiceManager(); + iConnection.getComponentContext().getServiceManager(); // call successfully performed, restart watch for next loop try diff --git a/bean/qa/complex/bean/OOoBeanTest.java b/bean/qa/complex/bean/OOoBeanTest.java index 734923cff76f..82a604bdfc1d 100644 --- a/bean/qa/complex/bean/OOoBeanTest.java +++ b/bean/qa/complex/bean/OOoBeanTest.java @@ -481,7 +481,6 @@ public class OOoBeanTest for (; i < 1; i++) { - EventQueue q = Toolkit.getDefaultToolkit().getSystemEventQueue(); EventQueue.invokeAndWait( new Runnable() { public void run() { try { diff --git a/bean/test/applet/oooapplet/OOoViewer.java b/bean/test/applet/oooapplet/OOoViewer.java index 6ea9270b199f..2a14c79afb06 100644 --- a/bean/test/applet/oooapplet/OOoViewer.java +++ b/bean/test/applet/oooapplet/OOoViewer.java @@ -73,7 +73,6 @@ public class OOoViewer extends Applet { // Class arPropValClass = m_loader.loadClass("[Lcom.sun.star.beans.PropertyValue;"); Object arProp = Array.newInstance( m_loader.loadClass("com.sun.star.beans.PropertyValue"), 1); - Class<? extends Object> clazz = arProp.getClass(); Method methLoad = beanClass.getMethod( "loadFromURL", new Class[] { @@ -175,7 +174,6 @@ final class CustomURLClassLoader extends URLClassLoader { return result; } - URI uri = null; for (URL u : resourcePaths) { if (u.getProtocol().startsWith("file")){ try { |