diff options
author | Noel Grandin <noel@peralex.com> | 2012-09-07 13:39:37 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-10 23:43:38 +0200 |
commit | 6bf09ecf1d97455af4a07ae3564886ee69e0a33b (patch) | |
tree | 0a6664ddbb9df2758d69b77ebcac6a9089f97407 /scripting | |
parent | 0f1dba83596b5e8e19203892cb1334b6bbe8f147 (diff) |
Java cleanup, remove unnecessary imports
I guess I missed some last time :-)
Change-Id: I164a8baa07850f783b8cdf2e7f3eeaac53a3d29b
Diffstat (limited to 'scripting')
22 files changed, 0 insertions, 93 deletions
diff --git a/scripting/java/org/openoffice/idesupport/OfficeDocument.java b/scripting/java/org/openoffice/idesupport/OfficeDocument.java index 82e673eae8c6..02fdba5632f0 100644 --- a/scripting/java/org/openoffice/idesupport/OfficeDocument.java +++ b/scripting/java/org/openoffice/idesupport/OfficeDocument.java @@ -22,10 +22,6 @@ import java.io.*; import java.util.zip.*; import java.util.Vector; import java.util.Enumeration; -import java.util.StringTokenizer; - -import org.openoffice.idesupport.filter.FileFilter; -import org.openoffice.idesupport.filter.BinaryOnlyFilter; import org.openoffice.idesupport.zip.ParcelZipper; public class OfficeDocument diff --git a/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java b/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java index f0a2c2d1c24a..faba9d79df12 100644 --- a/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java +++ b/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java @@ -22,15 +22,12 @@ import java.net.ConnectException; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lang.XMultiComponentFactory; -import com.sun.star.lang.XComponent; import com.sun.star.bridge.UnoUrlResolver; import com.sun.star.bridge.XUnoUrlResolver; import com.sun.star.beans.XPropertySet; import com.sun.star.comp.helper.Bootstrap; import com.sun.star.uno.XComponentContext; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.Exception; - import drafts.com.sun.star.script.framework.storage.XScriptStorageManager; import org.openoffice.idesupport.LocalOffice; diff --git a/scripting/java/org/openoffice/idesupport/ui/ConfigurePanel.java b/scripting/java/org/openoffice/idesupport/ui/ConfigurePanel.java index 991bb0fd20d9..4030d683db40 100644 --- a/scripting/java/org/openoffice/idesupport/ui/ConfigurePanel.java +++ b/scripting/java/org/openoffice/idesupport/ui/ConfigurePanel.java @@ -24,7 +24,6 @@ import java.io.IOException; import java.util.Vector; import java.util.Enumeration; -import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JButton; import javax.swing.AbstractButton; @@ -38,9 +37,6 @@ import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; -import org.w3c.dom.Document; - -import com.sun.star.script.framework.container.ScriptEntry; import com.sun.star.script.framework.container.ParcelDescriptor; import org.openoffice.idesupport.zip.ParcelZipper; diff --git a/scripting/java/org/openoffice/idesupport/ui/MethodPanel.java b/scripting/java/org/openoffice/idesupport/ui/MethodPanel.java index 123b2377e67b..3e85f2048316 100644 --- a/scripting/java/org/openoffice/idesupport/ui/MethodPanel.java +++ b/scripting/java/org/openoffice/idesupport/ui/MethodPanel.java @@ -20,22 +20,11 @@ package org.openoffice.idesupport.ui; import java.io.File; import java.util.Vector; -import java.util.ArrayList; - -import java.lang.reflect.Method; -import java.lang.reflect.Modifier; - import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JList; -import javax.swing.JTable; -import javax.swing.table.AbstractTableModel; import javax.swing.JLabel; import java.awt.BorderLayout; -import java.net.URL; -import java.net.URLClassLoader; -import java.net.MalformedURLException; - import com.sun.star.script.framework.container.ScriptEntry; import org.openoffice.idesupport.MethodFinder; import org.openoffice.idesupport.ExtensionFinder; diff --git a/scripting/java/org/openoffice/idesupport/ui/ScriptPanel.java b/scripting/java/org/openoffice/idesupport/ui/ScriptPanel.java index 591ef158250b..b30e1a9949f0 100644 --- a/scripting/java/org/openoffice/idesupport/ui/ScriptPanel.java +++ b/scripting/java/org/openoffice/idesupport/ui/ScriptPanel.java @@ -18,7 +18,6 @@ package org.openoffice.idesupport.ui; -import java.io.File; import java.util.Vector; import java.util.Enumeration; diff --git a/scripting/java/org/openoffice/idesupport/xml/Manifest.java b/scripting/java/org/openoffice/idesupport/xml/Manifest.java index 6cf90899ccad..720aa482b139 100644 --- a/scripting/java/org/openoffice/idesupport/xml/Manifest.java +++ b/scripting/java/org/openoffice/idesupport/xml/Manifest.java @@ -26,13 +26,9 @@ import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; -import java.util.Enumeration; import java.util.ArrayList; import java.util.Iterator; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; - import org.w3c.dom.Document; import org.w3c.dom.NodeList; import org.w3c.dom.Element; diff --git a/scripting/java/org/openoffice/idesupport/zip/ParcelZipper.java b/scripting/java/org/openoffice/idesupport/zip/ParcelZipper.java index 238ea76bdc00..01c7151b2788 100644 --- a/scripting/java/org/openoffice/idesupport/zip/ParcelZipper.java +++ b/scripting/java/org/openoffice/idesupport/zip/ParcelZipper.java @@ -21,12 +21,8 @@ package org.openoffice.idesupport.zip; import java.io.*; import java.util.Enumeration; import java.util.zip.*; -import java.beans.PropertyVetoException; - import org.openoffice.idesupport.filter.FileFilter; import org.openoffice.idesupport.filter.BinaryOnlyFilter; -import org.openoffice.idesupport.filter.ExceptParcelFilter; - import com.sun.star.script.framework.container.ParcelDescriptor; import org.openoffice.idesupport.xml.Manifest; diff --git a/scripting/workben/ifc/scripting/ScriptingUtils.java b/scripting/workben/ifc/scripting/ScriptingUtils.java index cc75fd16da08..45ff3f96e10a 100644 --- a/scripting/workben/ifc/scripting/ScriptingUtils.java +++ b/scripting/workben/ifc/scripting/ScriptingUtils.java @@ -18,7 +18,6 @@ package ifc.scripting; -import java.io.File; import drafts.com.sun.star.script.framework.storage.XScriptStorageManager; import com.sun.star.uno.UnoRuntime; diff --git a/scripting/workben/ifc/scripting/SecurityDialogUtil.java b/scripting/workben/ifc/scripting/SecurityDialogUtil.java index 2c8ee117e720..0dec7c3339c0 100644 --- a/scripting/workben/ifc/scripting/SecurityDialogUtil.java +++ b/scripting/workben/ifc/scripting/SecurityDialogUtil.java @@ -27,7 +27,6 @@ import com.sun.star.awt.XExtendedToolkit; // Jsuite classes import util.AccessibilityTools; -import util.dbg; /** * Thread that pushes the buttons or checkbox * on the message box that is on top. diff --git a/scripting/workben/ifc/scripting/_XFunction.java b/scripting/workben/ifc/scripting/_XFunction.java index 4db6f295a487..eb0d9c96a949 100644 --- a/scripting/workben/ifc/scripting/_XFunction.java +++ b/scripting/workben/ifc/scripting/_XFunction.java @@ -21,14 +21,6 @@ package ifc.scripting; import drafts.com.sun.star.script.framework.provider.XFunction; import drafts.com.sun.star.script.framework.provider.XFunctionProvider; -import com.sun.star.uno.UnoRuntime; -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.uno.XInterface; -import com.sun.star.ucb.XSimpleFileAccess; -import com.sun.star.uno.Exception; -import com.sun.star.beans.XPropertySet; - -import java.io.PrintWriter; import lib.MultiMethodTest; import lib.StatusException; import lib.Parameters; diff --git a/scripting/workben/ifc/scripting/_XFunctionProvider.java b/scripting/workben/ifc/scripting/_XFunctionProvider.java index 63ddb974394d..2f1d3e2e2df4 100644 --- a/scripting/workben/ifc/scripting/_XFunctionProvider.java +++ b/scripting/workben/ifc/scripting/_XFunctionProvider.java @@ -21,14 +21,6 @@ package ifc.scripting; import drafts.com.sun.star.script.framework.provider.XFunctionProvider; import drafts.com.sun.star.script.framework.provider.XFunction; -import com.sun.star.uno.UnoRuntime; -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.uno.XInterface; -import com.sun.star.ucb.XSimpleFileAccess; -import com.sun.star.uno.Exception; -import com.sun.star.beans.XPropertySet; - -import java.io.PrintWriter; import lib.MultiMethodTest; import lib.StatusException; import lib.Parameters; diff --git a/scripting/workben/ifc/scripting/_XScriptInfo.java b/scripting/workben/ifc/scripting/_XScriptInfo.java index ac6f852f0ac0..4e521817945f 100644 --- a/scripting/workben/ifc/scripting/_XScriptInfo.java +++ b/scripting/workben/ifc/scripting/_XScriptInfo.java @@ -18,21 +18,13 @@ package ifc.scripting; -import drafts.com.sun.star.script.framework.storage.XScriptStorageManager; -import drafts.com.sun.star.script.framework.storage.XScriptInfoAccess; import drafts.com.sun.star.script.framework.storage.XScriptInfo; -import com.sun.star.uno.UnoRuntime; -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.uno.XInterface; -import com.sun.star.ucb.XSimpleFileAccess; -import com.sun.star.uno.Exception; import com.sun.star.beans.XPropertySet; import java.util.Collection; import java.util.Iterator; -import java.io.PrintWriter; import lib.Parameters; import lib.MultiMethodTest; import lib.StatusException; diff --git a/scripting/workben/ifc/scripting/_XScriptInfoAccess.java b/scripting/workben/ifc/scripting/_XScriptInfoAccess.java index cd7c3c083513..f5ad117f0306 100644 --- a/scripting/workben/ifc/scripting/_XScriptInfoAccess.java +++ b/scripting/workben/ifc/scripting/_XScriptInfoAccess.java @@ -23,12 +23,6 @@ import drafts.com.sun.star.script.framework.storage.XScriptInfo; import com.sun.star.uno.UnoRuntime; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.uno.XInterface; -import com.sun.star.ucb.XSimpleFileAccess; -import com.sun.star.uno.Exception; -import com.sun.star.beans.XPropertySet; - -import java.io.PrintWriter; import lib.MultiMethodTest; import lib.StatusException; import lib.Parameters; diff --git a/scripting/workben/ifc/scripting/_XScriptSecurity.java b/scripting/workben/ifc/scripting/_XScriptSecurity.java index d2b6b21b57fc..69bb8f1ddf9a 100644 --- a/scripting/workben/ifc/scripting/_XScriptSecurity.java +++ b/scripting/workben/ifc/scripting/_XScriptSecurity.java @@ -18,7 +18,6 @@ package ifc.scripting; -import java.util.HashMap; import java.util.Iterator; import java.util.Collection; @@ -35,8 +34,6 @@ import com.sun.star.uno.XInterface; import com.sun.star.frame.XModel; import com.sun.star.container.XNameReplace; import com.sun.star.util.XChangesBatch; -import com.sun.star.reflection.InvocationTargetException; - import lib.MultiMethodTest; import lib.StatusException; import lib.Parameters; diff --git a/scripting/workben/ifc/scripting/_XScriptStorageManager.java b/scripting/workben/ifc/scripting/_XScriptStorageManager.java index 1703ea7d7007..81c82fabed70 100644 --- a/scripting/workben/ifc/scripting/_XScriptStorageManager.java +++ b/scripting/workben/ifc/scripting/_XScriptStorageManager.java @@ -28,9 +28,6 @@ import com.sun.star.uno.UnoRuntime; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.XInterface; import com.sun.star.ucb.XSimpleFileAccess; -import com.sun.star.uno.Exception; - -import java.io.PrintWriter; import lib.MultiMethodTest; import lib.StatusException; import lib.Parameters; diff --git a/scripting/workben/ifc/scripting/_XScriptStorageRefresh.java b/scripting/workben/ifc/scripting/_XScriptStorageRefresh.java index 1ea6864a5555..0f6eb8eddb02 100644 --- a/scripting/workben/ifc/scripting/_XScriptStorageRefresh.java +++ b/scripting/workben/ifc/scripting/_XScriptStorageRefresh.java @@ -23,14 +23,6 @@ import drafts.com.sun.star.script.framework.storage.XScriptStorageRefresh; import java.util.Collection; import java.util.Iterator; -import com.sun.star.uno.UnoRuntime; -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.uno.XInterface; -import com.sun.star.ucb.XSimpleFileAccess; -import com.sun.star.uno.Exception; -import com.sun.star.beans.XPropertySet; - -import java.io.PrintWriter; import lib.MultiMethodTest; import lib.StatusException; import lib.Parameters; diff --git a/scripting/workben/mod/_scripting/Dispatch.java b/scripting/workben/mod/_scripting/Dispatch.java index 888569134146..f3b7cf50b317 100644 --- a/scripting/workben/mod/_scripting/Dispatch.java +++ b/scripting/workben/mod/_scripting/Dispatch.java @@ -18,7 +18,6 @@ package mod._scripting; -import java.net.URLEncoder; import java.io.PrintWriter; import lib.StatusException; @@ -26,7 +25,6 @@ import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; -import util.utils; import util.SOfficeFactory; import com.sun.star.lang.XMultiServiceFactory; @@ -37,9 +35,6 @@ import com.sun.star.uno.UnoRuntime; import com.sun.star.frame.XModel; import com.sun.star.frame.XFrame; -import com.sun.star.frame.XDesktop; - - import com.sun.star.util.URL; import com.sun.star.util.XURLTransformer; diff --git a/scripting/workben/mod/_scripting/Function.java b/scripting/workben/mod/_scripting/Function.java index 21eab2a7f94d..350e2d9ba7ad 100644 --- a/scripting/workben/mod/_scripting/Function.java +++ b/scripting/workben/mod/_scripting/Function.java @@ -24,19 +24,13 @@ import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; -import util.utils; -import java.net.URLEncoder; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.UnoRuntime; import com.sun.star.frame.XModel; -import com.sun.star.frame.XFrame; import com.sun.star.lang.XComponent; -import com.sun.star.frame.XDesktop; - import util.SOfficeFactory; -import drafts.com.sun.star.script.framework.provider.XFunction; import drafts.com.sun.star.script.framework.provider.XFunctionProvider; public class Function extends TestCase { diff --git a/scripting/workben/mod/_scripting/FunctionProvider.java b/scripting/workben/mod/_scripting/FunctionProvider.java index 653a6de84b86..d053fd15c923 100644 --- a/scripting/workben/mod/_scripting/FunctionProvider.java +++ b/scripting/workben/mod/_scripting/FunctionProvider.java @@ -24,8 +24,6 @@ import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; -import util.utils; -import java.net.URLEncoder; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.UnoRuntime; diff --git a/scripting/workben/mod/_scripting/ScriptInfo.java b/scripting/workben/mod/_scripting/ScriptInfo.java index aff4a55db58b..e0f313b7eb9c 100644 --- a/scripting/workben/mod/_scripting/ScriptInfo.java +++ b/scripting/workben/mod/_scripting/ScriptInfo.java @@ -24,7 +24,6 @@ import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; -import util.utils; import java.net.URLEncoder; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.ucb.XSimpleFileAccess; diff --git a/scripting/workben/mod/_scripting/ScriptStorage.java b/scripting/workben/mod/_scripting/ScriptStorage.java index e1c9f01a8056..5cc5e5b18a4e 100644 --- a/scripting/workben/mod/_scripting/ScriptStorage.java +++ b/scripting/workben/mod/_scripting/ScriptStorage.java @@ -24,7 +24,6 @@ import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; -import util.utils; import java.net.URLEncoder; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.ucb.XSimpleFileAccess; diff --git a/scripting/workben/mod/_scripting/ScriptStorageManager.java b/scripting/workben/mod/_scripting/ScriptStorageManager.java index 2f8798c8b81e..99152da4b3a2 100644 --- a/scripting/workben/mod/_scripting/ScriptStorageManager.java +++ b/scripting/workben/mod/_scripting/ScriptStorageManager.java @@ -28,7 +28,6 @@ import lib.StatusException; import lib.TestCase; import lib.TestEnvironment; import lib.TestParameters; -import util.utils; public class ScriptStorageManager extends TestCase { |