summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-08-30 16:37:24 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-06 17:13:58 +0200
commitbf4352084b991981975a24a8e61cbb3cbf3e0159 (patch)
tree0cdda83cb01e1fcfc43c63c0993286a5883d6a9f /javaunohelper
parent80891ead730bf1df084d84e89157e5411f3ae0bc (diff)
Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java1
-rw-r--r--javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java20
-rw-r--r--javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java14
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java1
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java16
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java3
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java4
7 files changed, 0 insertions, 59 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java
index 246dd8639c54..cd57c6357330 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java
@@ -58,7 +58,6 @@ import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
-import java.util.Vector;
/**
A helper mixin to implement certain UNO interfaces related to property set
diff --git a/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java b/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java
index 16abef854a4d..d541fbea1291 100644
--- a/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java
+++ b/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java
@@ -18,27 +18,7 @@
package com.sun.star.comp.helper;
-import com.sun.star.comp.loader.JavaLoader;
-
-import com.sun.star.comp.servicemanager.ServiceManager;
-import com.sun.star.uno.UnoRuntime;
-
-import com.sun.star.container.XSet;
-import com.sun.star.container.XContentEnumerationAccess;
-import com.sun.star.container.XEnumeration;
-import com.sun.star.container.XEnumerationAccess;
-import com.sun.star.container.XElementAccess;
-
-import com.sun.star.lang.XComponent;
-
-import com.sun.star.lang.XServiceInfo;
import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.lang.XSingleServiceFactory;
-import com.sun.star.lang.XInitialization;
-
-import com.sun.star.loader.XImplementationLoader;
-
-import com.sun.star.registry.XSimpleRegistry;
public class RegistryServiceFactory_Test {
diff --git a/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java b/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java
index 40eb0ae81b91..a5ec301492e2 100644
--- a/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java
+++ b/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java
@@ -18,24 +18,10 @@
package com.sun.star.comp.helper;
-import com.sun.star.comp.loader.JavaLoader;
-
-import com.sun.star.comp.servicemanager.ServiceManager;
import com.sun.star.uno.UnoRuntime;
-import com.sun.star.container.XSet;
-import com.sun.star.container.XContentEnumerationAccess;
-import com.sun.star.container.XEnumeration;
-import com.sun.star.container.XEnumerationAccess;
-import com.sun.star.container.XElementAccess;
-
-import com.sun.star.lang.XComponent;
-
-import com.sun.star.lang.XServiceInfo;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.lang.XSingleServiceFactory;
-import com.sun.star.lang.XInitialization;
-
import com.sun.star.loader.XImplementationLoader;
import com.sun.star.registry.XSimpleRegistry;
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java
index f12276406411..561871ac82f6 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java
@@ -31,7 +31,6 @@ import com.sun.star.registry.XImplementationRegistration;
import com.sun.star.container.XSet;
import com.sun.star.lib.uno.helper.Factory;
-import com.sun.star.comp.helper.Bootstrap;
import com.sun.star.comp.helper.RegistryServiceFactory;
import com.sun.star.uno.UnoRuntime;
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java
index ca5255f03152..8e79811fd4aa 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java
@@ -18,30 +18,14 @@
package com.sun.star.lib.uno.helper;
-import com.sun.star.uno.XInterface;
import java.util.Iterator;
import java.util.ListIterator;
-import com.sun.star.uno.Type;
import com.sun.star.uno.XWeak;
import com.sun.star.lang.XTypeProvider;
-import com.sun.star.lang.XEventListener;
import java.util.ArrayList;
-import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.comp.helper.Bootstrap;
-import com.sun.star.bridge.XUnoUrlResolver;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.lang.XSingleServiceFactory;
-import com.sun.star.uno.IQueryInterface;
-//import com.sun.star.lib.uno.environments.java.IRequester;
-import com.sun.star.bridge.XBridge;
//import com.sun.star.lib.uno.environments.java.Proxy;
import com.sun.star.lib.uno.environments.java.java_environment;
-import com.sun.star.lib.uno.typedesc.TypeDescription;
-import java.util.HashMap;
import java.util.List;
-import java.util.NoSuchElementException;
public class InterfaceContainer_Test
{
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 12e33a201ee6..2d3e764aee72 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
@@ -17,14 +17,11 @@
*/
package com.sun.star.lib.uno.helper;
-import com.sun.star.lib.uno.environments.java.java_environment;
import java.util.List;
import com.sun.star.uno.XWeak;
import com.sun.star.lang.XTypeProvider;
import java.util.ArrayList;
import com.sun.star.uno.Type;
-import com.sun.star.lib.uno.typedesc.TypeDescription;
-import com.sun.star.uno.UnoRuntime;
//import com.sun.star.lib.uno.environments.java.Proxy;
import com.sun.star.uno.XInterface;
import com.sun.star.lang.XSingleComponentFactory;
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 0dd6fce93ce7..02f93123cd92 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
@@ -22,10 +22,8 @@ import com.sun.star.lang.DisposedException;
import com.sun.star.uno.Type;
import com.sun.star.uno.TypeClass;
import com.sun.star.uno.XInterface;
-import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.Any;
import com.sun.star.uno.XWeak;
-import com.sun.star.beans.XPropertySet;
import com.sun.star.beans.UnknownPropertyException;
import com.sun.star.beans.Property;
import com.sun.star.beans.PropertyAttribute;
@@ -36,8 +34,6 @@ import com.sun.star.beans.XVetoableChangeListener;
import com.sun.star.beans.XPropertySetInfo;
import com.sun.star.beans.XPropertiesChangeListener;
-import java.util.Arrays;
-
public class PropertySet_Test
{