summaryrefslogtreecommitdiff
path: root/scripting/java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-09-07 13:39:37 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-10 23:43:38 +0200
commit6bf09ecf1d97455af4a07ae3564886ee69e0a33b (patch)
tree0a6664ddbb9df2758d69b77ebcac6a9089f97407 /scripting/java
parent0f1dba83596b5e8e19203892cb1334b6bbe8f147 (diff)
Java cleanup, remove unnecessary imports
I guess I missed some last time :-) Change-Id: I164a8baa07850f783b8cdf2e7f3eeaac53a3d29b
Diffstat (limited to 'scripting/java')
-rw-r--r--scripting/java/org/openoffice/idesupport/OfficeDocument.java4
-rw-r--r--scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java3
-rw-r--r--scripting/java/org/openoffice/idesupport/ui/ConfigurePanel.java4
-rw-r--r--scripting/java/org/openoffice/idesupport/ui/MethodPanel.java11
-rw-r--r--scripting/java/org/openoffice/idesupport/ui/ScriptPanel.java1
-rw-r--r--scripting/java/org/openoffice/idesupport/xml/Manifest.java4
-rw-r--r--scripting/java/org/openoffice/idesupport/zip/ParcelZipper.java4
7 files changed, 0 insertions, 31 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;