diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-30 16:37:24 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-06 17:13:58 +0200 |
commit | bf4352084b991981975a24a8e61cbb3cbf3e0159 (patch) | |
tree | 0cdda83cb01e1fcfc43c63c0993286a5883d6a9f /framework | |
parent | 80891ead730bf1df084d84e89157e5411f3ae0bc (diff) |
Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
Diffstat (limited to 'framework')
15 files changed, 0 insertions, 120 deletions
diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java index 576a8f512afd..829ebe60c6f6 100644 --- a/framework/qa/complex/XUserInputInterception/EventTest.java +++ b/framework/qa/complex/XUserInputInterception/EventTest.java @@ -30,7 +30,6 @@ import com.sun.star.awt.XKeyHandler; import com.sun.star.awt.XMouseClickHandler; import com.sun.star.awt.XUserInputInterception; import com.sun.star.awt.XWindow; -import com.sun.star.chart.XChartDocument; import com.sun.star.frame.*; import com.sun.star.lang.*; import com.sun.star.lang.EventObject; @@ -45,8 +44,6 @@ import java.awt.event.InputEvent; import util.AccessibilityTools; import util.SOfficeFactory; -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; diff --git a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java index 8c14b812690f..96f24e57da30 100644 --- a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java +++ b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java @@ -22,7 +22,6 @@ import com.sun.star.awt.KeyEvent; import com.sun.star.beans.PropertyValue; import com.sun.star.beans.XPropertySet; import com.sun.star.container.XNameAccess; -import com.sun.star.container.XNameContainer; import com.sun.star.embed.XStorage; import com.sun.star.embed.XTransactedObject; import com.sun.star.lang.XInitialization; @@ -33,7 +32,6 @@ import com.sun.star.ui.XUIConfigurationManager; import com.sun.star.ui.XUIConfigurationPersistence; import com.sun.star.ui.XUIConfigurationStorage; import com.sun.star.uno.AnyConverter; -import com.sun.star.uno.XInterface; import com.sun.star.uno.UnoRuntime; import com.sun.star.util.XChangesBatch; diff --git a/framework/qa/complex/api_internal/CheckAPI.java b/framework/qa/complex/api_internal/CheckAPI.java index 96d734fd8365..a57afecd015a 100644 --- a/framework/qa/complex/api_internal/CheckAPI.java +++ b/framework/qa/complex/api_internal/CheckAPI.java @@ -27,8 +27,6 @@ import helper.ProcessHandler; import java.util.ArrayList; import java.util.StringTokenizer; -import java.util.Vector; - import lib.TestParameters; import org.junit.AfterClass; diff --git a/framework/qa/complex/broken_document/LoadDocument.java b/framework/qa/complex/broken_document/LoadDocument.java index 1b9916019ecb..b599f0450145 100644 --- a/framework/qa/complex/broken_document/LoadDocument.java +++ b/framework/qa/complex/broken_document/LoadDocument.java @@ -25,10 +25,7 @@ import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.UnoRuntime; -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.openoffice.test.OfficeConnection; diff --git a/framework/qa/complex/desktop/DesktopTerminate.java b/framework/qa/complex/desktop/DesktopTerminate.java index 1abfb873081a..692cdbb16af8 100644 --- a/framework/qa/complex/desktop/DesktopTerminate.java +++ b/framework/qa/complex/desktop/DesktopTerminate.java @@ -21,12 +21,7 @@ package complex.desktop; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.frame.XDesktop; import com.sun.star.uno.UnoRuntime; -import helper.OfficeProvider; - -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.openoffice.test.OfficeConnection; diff --git a/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java b/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java index b1aece415147..d241f70baf04 100644 --- a/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java +++ b/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java @@ -21,10 +21,7 @@ import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.UnoRuntime; import com.sun.star.frame.XDesktop; -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.openoffice.test.OfficeConnection; diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java index 5116d7c762ea..015fa3804961 100644 --- a/framework/qa/complex/framework/autosave/AutoSave.java +++ b/framework/qa/complex/framework/autosave/AutoSave.java @@ -26,7 +26,6 @@ import com.sun.star.frame.XDispatch; import com.sun.star.frame.XDispatchProvider; import com.sun.star.frame.XModel; import com.sun.star.frame.XStatusListener; -import com.sun.star.frame.XStorable; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.sheet.FillDirection; import com.sun.star.sheet.XCellSeries; diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index 8a78cdb5ac5e..3c78f43ea224 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -20,33 +20,9 @@ package complex.framework.autosave; // __________ Imports __________ -// structs, const, ... -import com.sun.star.beans.PropertyValue; -import com.sun.star.bridge.XUnoUrlResolver; - -// exceptions -import com.sun.star.container.NoSuchElementException; -import com.sun.star.uno.Exception; -import com.sun.star.uno.RuntimeException; -import java.io.IOException; -import java.lang.InterruptedException; -import java.net.ConnectException; - -// interfaces -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.uno.Any; - -// helper -import com.sun.star.uno.IBridge; -import com.sun.star.uno.UnoRuntime; - // others import javax.swing.*; -import javax.swing.border.*; -import java.awt.*; -import java.lang.*; import java.io.*; -import java.util.*; import java.sql.*; // __________ Implementation __________ diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java index 470eabefc522..39e58b8d8dd5 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -18,51 +18,22 @@ package complex.framework.recovery; -import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; import com.sun.star.awt.Rectangle; import com.sun.star.awt.Size; import com.sun.star.awt.XDialog; -import com.sun.star.awt.XExtendedToolkit; import com.sun.star.awt.XWindow; -import com.sun.star.beans.XPropertySet; import com.sun.star.container.XEnumeration; -import com.sun.star.container.XIndexAccess; -import com.sun.star.container.XNameContainer; -import com.sun.star.drawing.XDrawPage; -import com.sun.star.drawing.XDrawPages; -import com.sun.star.drawing.XDrawPagesSupplier; -import com.sun.star.drawing.XShape; -import com.sun.star.drawing.XShapes; -import com.sun.star.frame.XController; -import com.sun.star.frame.XDesktop; -import com.sun.star.frame.XDispatch; -import com.sun.star.frame.XDispatchProvider; -import com.sun.star.frame.XFrame; import com.sun.star.frame.XModel; import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.lang.XSingleServiceFactory; -import com.sun.star.presentation.XCustomPresentationSupplier; -import com.sun.star.presentation.XPresentationSupplier; -import com.sun.star.sheet.XSheetCellRange; -import com.sun.star.sheet.XSpreadsheet; -import com.sun.star.sheet.XSpreadsheetDocument; -import com.sun.star.sheet.XSpreadsheets; -import com.sun.star.style.XStyle; -import com.sun.star.table.XCellRange; import com.sun.star.text.ControlCharacter; import com.sun.star.text.XText; import com.sun.star.text.XTextCursor; import com.sun.star.text.XTextDocument; -import com.sun.star.uno.AnyConverter; -import com.sun.star.uno.Type; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XInterface; -import com.sun.star.view.XSelectionSupplier; import complexlib.ComplexTestCase; import helper.OfficeProvider; -import helper.OfficeWatcher; import java.awt.Dimension; import java.awt.Point; import java.awt.Toolkit; @@ -75,16 +46,6 @@ import util.SOfficeFactory; import util.UITools; import util.utils; -// ---------- junit imports ----------------- -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import org.openoffice.test.OfficeConnection; -import static org.junit.Assert.*; -// ------------------------------------------ - public class RecoveryTest extends ComplexTestCase { static XMultiServiceFactory xMSF; diff --git a/framework/qa/complex/framework/recovery/RecoveryTools.java b/framework/qa/complex/framework/recovery/RecoveryTools.java index 9f4b81836e57..c9382c20858e 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTools.java +++ b/framework/qa/complex/framework/recovery/RecoveryTools.java @@ -21,21 +21,11 @@ package complex.framework.recovery; import com.sun.star.awt.XDialog; import com.sun.star.awt.XExtendedToolkit; import com.sun.star.awt.XWindow; -import com.sun.star.beans.NamedValue; -import com.sun.star.frame.XController; import com.sun.star.frame.XDesktop; -import com.sun.star.frame.XDispatch; -import com.sun.star.frame.XDispatchProvider; -import com.sun.star.frame.XModel; -import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.ucb.XSimpleFileAccess; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; -import com.sun.star.util.URL; -import com.sun.star.util.XURLTransformer; import helper.FileTools; -import helper.OfficeProvider; import helper.UnoProvider; import java.io.File; import java.io.PrintWriter; diff --git a/framework/qa/complex/imageManager/CheckImageManager.java b/framework/qa/complex/imageManager/CheckImageManager.java index 4d1d78e27efd..40f194c69e52 100644 --- a/framework/qa/complex/imageManager/CheckImageManager.java +++ b/framework/qa/complex/imageManager/CheckImageManager.java @@ -23,7 +23,6 @@ import com.sun.star.lang.XInitialization; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lang.XTypeProvider; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XInterface; import com.sun.star.ui.XImageManager; import com.sun.star.ui.XModuleUIConfigurationManagerSupplier; import com.sun.star.ui.XUIConfiguration; @@ -33,7 +32,6 @@ import com.sun.star.ui.XUIConfigurationPersistence; // ---------- junit imports ----------------- import lib.TestParameters; -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; diff --git a/framework/qa/complex/imageManager/_XComponent.java b/framework/qa/complex/imageManager/_XComponent.java index 947d7cde8359..93881d8bd1a8 100644 --- a/framework/qa/complex/imageManager/_XComponent.java +++ b/framework/qa/complex/imageManager/_XComponent.java @@ -18,7 +18,6 @@ package complex.imageManager; -import com.sun.star.container.XNameContainer; import com.sun.star.frame.XDesktop; import com.sun.star.lang.EventObject; import com.sun.star.lang.XComponent; diff --git a/framework/qa/complex/loadAllDocuments/InteractionHandler.java b/framework/qa/complex/loadAllDocuments/InteractionHandler.java index e399ada391ce..f22201fe08cd 100644 --- a/framework/qa/complex/loadAllDocuments/InteractionHandler.java +++ b/framework/qa/complex/loadAllDocuments/InteractionHandler.java @@ -17,16 +17,7 @@ */ package complex.loadAllDocuments; -import com.sun.star.beans.PropertyValue; - -import com.sun.star.uno.Exception; -import com.sun.star.uno.RuntimeException; - import com.sun.star.task.XInteractionHandler; -import com.sun.star.task.XInteractionAbort; -import com.sun.star.task.XInteractionRetry; - -import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.AnyConverter; diff --git a/framework/qa/complex/loadAllDocuments/StatusIndicator.java b/framework/qa/complex/loadAllDocuments/StatusIndicator.java index ab6b22613705..bf2c0ce4ba2b 100644 --- a/framework/qa/complex/loadAllDocuments/StatusIndicator.java +++ b/framework/qa/complex/loadAllDocuments/StatusIndicator.java @@ -19,18 +19,7 @@ package complex.loadAllDocuments; // __________ Imports __________ -// structs, const, ... -import com.sun.star.beans.PropertyValue; -// exceptions -import com.sun.star.uno.Exception; -import com.sun.star.uno.RuntimeException; - -// interfaces -import com.sun.star.task.XStatusIndicator; - -// helper -import com.sun.star.uno.UnoRuntime; // __________ Implementation __________ diff --git a/framework/qa/complex/path_settings/PathSettingsTest.java b/framework/qa/complex/path_settings/PathSettingsTest.java index aa503b4529cd..304f7c4531df 100644 --- a/framework/qa/complex/path_settings/PathSettingsTest.java +++ b/framework/qa/complex/path_settings/PathSettingsTest.java @@ -18,10 +18,8 @@ package complex.path_settings; import com.sun.star.beans.Property; -import com.sun.star.beans.PropertyVetoException; import com.sun.star.beans.UnknownPropertyException; import com.sun.star.beans.XFastPropertySet; -import com.sun.star.beans.XMultiPropertySet; import com.sun.star.beans.XPropertySet; import com.sun.star.beans.XPropertiesChangeListener; import com.sun.star.beans.XPropertyChangeListener; @@ -34,9 +32,6 @@ import com.sun.star.uno.AnyConverter; // ---------- junit imports ----------------- import java.util.ArrayList; import java.util.StringTokenizer; -import java.util.logging.Level; -import java.util.logging.Logger; -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; |