Commits

Anonymous committed 4f82276

CWS-TOOLING: integrate CWS cmcfixes58
2009-05-04 13:51:10 +0200 cmc r271450 : #i101533# latest sw warnings
2009-05-04 00:02:46 +0200 cmc r271436 : #i101517# silence new warnings
2009-05-03 23:13:53 +0200 cmc r271435 : #i101305# add that one back in
2009-05-02 16:30:42 +0200 cmc r271431 : #i101493# get it to build, and remove some warnings
2009-05-02 16:12:37 +0200 cmc r271430 : CWS-TOOLING: rebase CWS cmcfixes58 to trunk@271427 (milestone: DEV300:m47)
2009-04-23 13:19:33 +0200 cmc r271163 : #i101305# remove annoying import foo is unused warnings
2009-04-21 17:10:34 +0200 cmc r271048 : #i101246# remove AVMEDIA_MANAGER_SERVICE_NAME defines again
2009-04-21 17:07:41 +0200 cmc r271047 : #i86323# remove xml2cmp unused methods

Comments (0)

Files changed (389)

bean/com/sun/star/beans/JavaWindowPeerFake.java

 
 package com.sun.star.beans;
 
-import java.awt.*;
-
-import com.sun.star.uno.*;
-import com.sun.star.lang.*;
 import com.sun.star.awt.*;
-import com.sun.star.util.*;
-import com.sun.star.beans.*;
-import com.sun.star.container.*;
 
 /** <p>Class to pass the system window handle to the OpenOffice.org toolkit.</p>
  *  @deprecated

bean/com/sun/star/beans/LocalOfficeConnection.java

 
 package com.sun.star.beans;
 
-import java.awt.Component;
 import java.awt.Container;
 import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.net.MalformedURLException;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Vector;
-import java.util.Properties;
-import java.util.Enumeration;
-
-import com.sun.star.comp.helper.Bootstrap;
 
 import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.lang.XComponent;
 import com.sun.star.lang.XEventListener;
-import com.sun.star.lang.XInitialization;
-import com.sun.star.container.XSet;
-import com.sun.star.connection.XConnection;
-import com.sun.star.bridge.XBridge;
-import com.sun.star.bridge.XBridgeFactory;
 import com.sun.star.bridge.XUnoUrlResolver;
-import com.sun.star.comp.loader.JavaLoader;
-import com.sun.star.loader.XImplementationLoader;
 import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.Type;
 import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.Exception;
 import com.sun.star.lib.uno.helper.UnoUrl;
 import com.sun.star.lib.util.NativeLibraryLoader;
 

bean/com/sun/star/beans/LocalOfficeWindow.java

 package com.sun.star.beans;
 
 import java.awt.Component;
-import java.awt.Canvas;
 
 import com.sun.star.lang.EventObject;
 import com.sun.star.lang.SystemDependent;
-import com.sun.star.lang.XComponent;
 import com.sun.star.lang.XEventListener;
 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.lang.XMultiComponentFactory;
 import com.sun.star.awt.WindowClass;
 import com.sun.star.uno.UnoRuntime;
 import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.Exception;
 
 /**
  * This class represents a local office window. 

bean/com/sun/star/beans/OfficeConnection.java

 package com.sun.star.beans;
 
 import java.awt.Container;
-import java.net.MalformedURLException;
 
 import com.sun.star.lang.XComponent;
 import com.sun.star.uno.XComponentContext;

bean/com/sun/star/comp/beans/JavaWindowPeerFake.java

 
 package com.sun.star.comp.beans;
 
-import java.awt.*;
-
 import com.sun.star.uno.*;
-import com.sun.star.lang.*;
 import com.sun.star.awt.*;
-import com.sun.star.util.*;
-import com.sun.star.beans.*;
-import com.sun.star.container.*;
 
 /** <p>Class to pass the system window handle to the OpenOffice.org toolkit.</p>
  *

bean/com/sun/star/comp/beans/LocalOfficeConnection.java

 
 package com.sun.star.comp.beans;
 
-import java.awt.Component;
 import java.awt.Container;
 import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.net.MalformedURLException;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Vector;
-import java.util.Properties;
-import java.util.Enumeration;
-
-import com.sun.star.comp.helper.Bootstrap;
 
 import com.sun.star.lang.XMultiComponentFactory;
 import com.sun.star.lang.XComponent;
 import com.sun.star.lang.XEventListener;
-import com.sun.star.lang.XInitialization;
-import com.sun.star.container.XSet;
 import com.sun.star.connection.XConnection;
 import com.sun.star.connection.XConnector;
-import com.sun.star.connection.ConnectionSetupException;
-import com.sun.star.lang.IllegalArgumentException;
 import com.sun.star.bridge.XBridge;
 import com.sun.star.bridge.XBridgeFactory;
-import com.sun.star.comp.loader.JavaLoader;
-import com.sun.star.loader.XImplementationLoader;
 import com.sun.star.beans.XPropertySet;
 import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.Type;
 import com.sun.star.uno.UnoRuntime;
 import com.sun.star.uno.Exception;
 import com.sun.star.lib.uno.helper.UnoUrl;

bean/com/sun/star/comp/beans/LocalOfficeWindow.java

 package com.sun.star.comp.beans;
 
 import java.awt.Component;
-import java.awt.Canvas;
 
 import com.sun.star.lang.EventObject;
 import com.sun.star.lang.SystemDependent;
-import com.sun.star.lang.XComponent;
 import com.sun.star.lang.XEventListener;
 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.lang.XMultiComponentFactory;
 import com.sun.star.awt.WindowClass;
 import com.sun.star.uno.UnoRuntime;
 import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.Exception;
 import com.sun.star.uno.Any;
 import com.sun.star.uno.Type;
 import com.sun.star.beans.NamedValue;

bean/com/sun/star/comp/beans/OfficeConnection.java

 package com.sun.star.comp.beans;
 
 import java.awt.Container;
-import java.net.MalformedURLException;
 
 import com.sun.star.lang.XComponent;
 import com.sun.star.uno.XComponentContext;

canvas/source/java/BackBuffer.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
-// Canvas
-import com.sun.star.rendering.*;
-
 // Java AWT
 import java.awt.*;
 import java.awt.image.*;
-import java.awt.geom.*;
 
 public class BackBuffer
 {

canvas/source/java/BezierPolyPolygon.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 import com.sun.star.geometry.*;

canvas/source/java/CanvasBase.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 import com.sun.star.geometry.*;

canvas/source/java/CanvasBitmap.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 import com.sun.star.geometry.*;

canvas/source/java/CanvasClonedSprite.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 import com.sun.star.geometry.*;
 
 // Java AWT
-import java.awt.*;
 import java.awt.geom.*;
 
 public class CanvasClonedSprite

canvas/source/java/CanvasCustomSprite.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 import com.sun.star.geometry.*;

canvas/source/java/CanvasFont.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
-import com.sun.star.geometry.*;
 
 public class CanvasFont
     extends com.sun.star.lib.uno.helper.ComponentBase

canvas/source/java/CanvasGraphicDevice.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.beans.XPropertySet; 
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 import com.sun.star.geometry.*;
 
 // Java AWT
 import java.awt.*;
-import java.awt.geom.*;
-
-// TEMP
-import com.sun.star.uno.Type;
-
 
 public class CanvasGraphicDevice
     extends com.sun.star.lib.uno.helper.ComponentBase

canvas/source/java/CanvasSprite.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 import com.sun.star.geometry.*;

canvas/source/java/CanvasUtils.java

 
 // UNO
 import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
 
 // Canvas
 import com.sun.star.rendering.*;
 
 // Java AWT
 import java.awt.*;
-import java.awt.image.*;
 import java.awt.geom.*;
 
 public class CanvasUtils

canvas/source/java/JavaCanvas.java

  ************************************************************************/
 
 // UNO
-import com.sun.star.uno.UnoRuntime;
 import com.sun.star.uno.XComponentContext;
 import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
 
 // OOo AWT
 import com.sun.star.awt.*;
 
 // Java AWT
 import java.awt.*;
-import java.awt.image.*;
-import java.awt.geom.*;
 
 public class JavaCanvas
     extends CanvasBase

canvas/source/java/LinePolyPolygon.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 import com.sun.star.geometry.*;

canvas/source/java/SpriteBase.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
-import com.sun.star.rendering.*;
-
-// Java AWT
-import java.awt.*;
-import java.awt.geom.*;
 
 public interface SpriteBase
 {

canvas/source/java/SpriteRep.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 

canvas/source/java/SpriteRunner.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.uno.IQueryInterface; 
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
 
-// Java AWT
-import java.awt.*;
-import java.awt.geom.*;
-
 //
 // HOWTO get a Graphics2D from a window
 //

canvas/source/java/TextLayout.java

  *
  ************************************************************************/
 
-// UNO
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.AnyConverter; 
-import com.sun.star.lib.uno.helper.WeakBase;
-
-// OOo AWT
-import com.sun.star.awt.*;
-
 // Canvas
 import com.sun.star.rendering.*;
-import com.sun.star.geometry.*;
 
 public class TextLayout
     extends com.sun.star.lib.uno.helper.ComponentBase

connectivity/source/drivers/evoab2/EApi.cxx

 #include <stdio.h>
 #define  DECLARE_FN_POINTERS 1
 #include "EApi.h"
-static char *eBookLibNames[] = {
+static const char *eBookLibNames[] = {
 	"libebook-1.2.so.9", // evolution-2.8
 	"libebook-1.2.so.5", // evolution-2.4 and 2.6+
 	"libebook-1.2.so.3", // evolution-2.2

connectivity/source/drivers/evoab2/EApi.h

 
 EAPI_EXTERN const char      *(*e_contact_field_name)   ( EContactField field_id);
 EAPI_EXTERN gpointer      	(*e_contact_get)   (EContact *contact, EContactField field_id);
-EAPI_EXTERN const gpointer  (*e_contact_get_const)   (EContact *contact, EContactField field_id);
+EAPI_EXTERN gconstpointer  (*e_contact_get_const)   (EContact *contact, EContactField field_id);
 // e-source.h
 typedef void ESource;
 #define E_SOURCE(a) ((ESource *)(a))

connectivity/source/drivers/evoab2/NPreparedStatement.cxx

 #include <com/sun/star/lang/DisposedException.hpp>
 #include "propertyids.hxx"
 #include <connectivity/dbexception.hxx>
+#include <connectivity/dbtools.hxx>
+
+#include "resource/common_res.hrc"
 
 using namespace connectivity::evoab;
 using namespace com::sun::star::uno;

connectivity/source/drivers/evoab2/NResultSet.cxx

         {
                 OEvoabResultSetMetaData *pMeta = (OEvoabResultSetMetaData *) m_xMetaData.get();
                 sal_Int32 nFieldNumber = pMeta->fieldAtColumn(nColumnNum);
-		GValue aValue = { 0, 0 };
+		GValue aValue = {0, {{0}}};
 		if (getValue (nFieldNumber, G_TYPE_STRING, &aValue))
 		{
 			const char *pStr = g_value_get_string (&aValue);
         {
                 OEvoabResultSetMetaData *pMeta = (OEvoabResultSetMetaData *) m_xMetaData.get();
                 sal_Int32 nFieldNumber = pMeta->fieldAtColumn(nColumnNum);
-		GValue aValue = { 0, 0 };
+		GValue aValue = {0, {{0}}};
 		if (getValue (nFieldNumber, G_TYPE_BOOLEAN, &aValue))
 		{
 			bResult = g_value_get_boolean (&aValue);

filter/source/config/tools/merge/FCFGMerge.java

 
 //_______________________________________________
 
-import java.lang.*;
-import java.util.*;
-import java.io.*;
 import com.sun.star.filter.config.tools.utils.*;
 
 //_______________________________________________

filter/source/config/tools/merge/Merger.java

 
 //_______________________________________________
 
-import java.lang.*;
-import java.util.*;
 import java.io.*;
 import com.sun.star.filter.config.tools.utils.*;
 

filter/source/config/tools/utils/AnalyzeStartupLog.java

 
 package com.sun.star.filter.config.tools.utils;
 
-//_______________________________________________
-// imports
-import java.util.*;
-import java.lang.*;
 
 //_______________________________________________
 // implementation

filter/source/config/tools/utils/Cache.java

  ************************************************************************/
 package com.sun.star.filter.config.tools.utils;
 
-//_______________________________________________
-
-import java.lang.*;
-import java.util.*;
-import java.io.*;
 
 //_______________________________________________
 

filter/source/config/tools/utils/ConfigHelper.java

 
 package com.sun.star.filter.config.tools.utils;
 
-//_______________________________________________
-// imports
-
-import java.lang.*;
-import java.util.*;
-import java.io.*;
 
 //_______________________________________________
 // definition

filter/source/config/tools/utils/FileHelper.java

 
 package com.sun.star.filter.config.tools.utils;
 
-// __________ Imports __________
-
-import java.io.*;
-import java.lang.*;
-import java.net.*;
-import java.util.*;
 
 // __________ Implementation __________
 

filter/source/config/tools/utils/Logger.java

 
 package com.sun.star.filter.config.tools.utils;
 
-//_______________________________________________
-// imports
-
-import java.lang.*;
-import java.util.*;
 
 //_______________________________________________
 // definition

filter/source/config/tools/utils/MalformedCommandLineException.java

 
 package com.sun.star.filter.config.tools.utils;
 
-//_______________________________________________
-// imports
-
-import java.lang.*;
 
 //___________________________________________
 // types

filter/source/config/tools/utils/XMLHelper.java

 
 package com.sun.star.filter.config.tools.utils;
 
-//_______________________________________________
-
-import java.lang.*;
-import java.util.*;
-import java.io.*;
 
 //_______________________________________________
 

filter/source/xsltvalidate/XSLTValidate.java

 
 
 import com.sun.star.comp.loader.FactoryHelper;
-import com.sun.star.lang.XInitialization;
 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.lang.XServiceInfo;
 import com.sun.star.lang.XServiceName;
 import com.sun.star.uno.Type;
 import java.util.Enumeration;
 import java.util.Vector;
-import java.io.InputStream;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.ByteArrayOutputStream;
 import com.sun.star.xml.XImportFilter;
 import com.sun.star.xml.XExportFilter;
-import java.io.*;
 
 // Imported TraX classes
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.dom.DOMSource;
-//import javax.xml.transform.dom.DOMResult;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.URIResolver;
-import javax.xml.transform.Source;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerConfigurationException;
 import javax.xml.parsers.DocumentBuilder;
 import javax.xml.parsers.DocumentBuilderFactory;
 
 import org.xml.sax.ErrorHandler;
 import org.xml.sax.SAXException;
 import org.xml.sax.SAXParseException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.helpers.XMLFilterImpl;
 
 import com.sun.star.uno.AnyConverter;
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.lang.XTypeProvider;
-import com.sun.star.uno.Type;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.comp.loader.FactoryHelper;
-import com.sun.star.lang.XServiceName;
-import com.sun.star.lang.XSingleServiceFactory;
-import com.sun.star.registry.XRegistryKey;
-import com.sun.star.frame.XConfigManager;
-import com.sun.star.xml.sax.InputSource;
-import com.sun.star.xml.sax.XParser;
-import com.sun.star.io.XInputStream;
-import com.sun.star.io.XOutputStream;
-import com.sun.star.xml.sax.XDocumentHandler;
 
 //Uno to java Adaptor
 import com.sun.star.lib.uno.adapter.*;

javaunohelper/com/sun/star/comp/JavaUNOHelperServices.java

 package com.sun.star.comp;
 
 import com.sun.star.lib.uno.helper.Factory;
-import com.sun.star.lang.XMultiComponentFactory;
 import com.sun.star.lang.XSingleComponentFactory;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
 import com.sun.star.registry.XRegistryKey;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.uno.Type;
-import com.sun.star.uno.Any;
-import com.sun.star.uno.AnyConverter;
 import com.sun.star.comp.juhtest.SmoketestCommandEnvironment;
 
 

javaunohelper/com/sun/star/comp/helper/Bootstrap.java

 
 package com.sun.star.comp.helper;
 
-import com.sun.star.beans.XPropertySet;
 import com.sun.star.bridge.UnoUrlResolver;
 import com.sun.star.bridge.XUnoUrlResolver;
 import com.sun.star.comp.loader.JavaLoader;
 import com.sun.star.lang.XInitialization;
 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.lang.XSingleServiceFactory;
 import com.sun.star.lang.XSingleComponentFactory;
 import com.sun.star.lib.util.NativeLibraryLoader;
 import com.sun.star.loader.XImplementationLoader;

javaunohelper/com/sun/star/comp/juhtest/SmoketestCommandEnvironment.java

 import com.sun.star.uno.UnoRuntime;
 import com.sun.star.uno.XComponentContext;
 import com.sun.star.lang.XServiceInfo;
-import com.sun.star.uno.Any;
-import com.sun.star.uno.AnyConverter;
 import com.sun.star.ucb.XCommandEnvironment;
 
 /** This service is for use by the smoketest which checks the installation of

javaunohelper/com/sun/star/lib/uno/adapter/ByteArrayToXInputStreamAdapter.java

 import com.sun.star.io.XInputStream;
 import com.sun.star.io.XSeekable;
 import  com.sun.star.lib.uno.helper.ComponentBase;
-import java.io.*;
 
 public class ByteArrayToXInputStreamAdapter 
 	extends ComponentBase

javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java

 import com.sun.star.lang.XComponent;
 import com.sun.star.lang.XEventListener;
 import com.sun.star.lang.EventObject;
-import java.util.List;
-import java.util.Collections;
-import java.util.LinkedList;
 import com.sun.star.uno.Type;
 
 /** This class can be used as the base class for UNO components. In addition to the functionality ,which

javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java

  ************************************************************************/
 
 package com.sun.star.lib.uno.helper;
-import java.util.ArrayList;
-import java.util.List;
 import java.util.Iterator;
 import java.util.ListIterator;
 import java.util.NoSuchElementException;
 import com.sun.star.lang.EventObject;
 import com.sun.star.lang.XEventListener;
 import com.sun.star.uno.UnoRuntime;
-import java.lang.ClassCastException;
-import com.sun.star.uno.XInterface;
-import java.util.AbstractList;
 
 /**
  * This class is a container for interfaces.

javaunohelper/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.java

 package com.sun.star.lib.uno.helper;
 import com.sun.star.uno.Type;
 import com.sun.star.lang.EventObject;
-import java.util.Collection;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Iterator;

javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java

 import com.sun.star.beans.XFastPropertySet;
 import com.sun.star.beans.PropertyVetoException;
 import com.sun.star.beans.XMultiPropertySet;
-import java.util.ArrayList;
-import java.util.List;
 import java.util.Iterator;
 import java.util.Collection;
 import java.util.HashMap;

javaunohelper/com/sun/star/lib/uno/helper/UnoUrl.java

  ************************************************************************/
 
 package com.sun.star.lib.uno.helper;
-import java.io.ByteArrayInputStream;
-import java.io.DataInputStream;
-import java.io.IOException;
 import java.io.UnsupportedEncodingException;
 import java.util.HashMap;
 import java.util.Vector;

javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java

 import java.lang.ref.WeakReference;
 import com.sun.star.uno.XAdapter;
 import com.sun.star.uno.XReference;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Collections;
 import java.util.LinkedList;

javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java

 import com.sun.star.uno.XAdapter;
 import com.sun.star.lang.XTypeProvider;
 import com.sun.star.uno.Type;
-import java.lang.reflect.Field;
 import java.util.Vector;
-import com.sun.star.uno.UnoRuntime;
 import java.util.Map;
 import java.util.Hashtable;
 

jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java

 package com.sun.star.comp.bridgefactory;
 
 import java.math.BigInteger;
-import java.util.Enumeration;
 import java.util.Vector;
 
 
-import com.sun.star.lang.XEventListener;
-import com.sun.star.lang.XComponent;
-
 import com.sun.star.bridge.BridgeExistsException;
 import com.sun.star.bridge.XBridge;
 import com.sun.star.bridge.XBridgeFactory;

jurt/com/sun/star/comp/connections/ConstantInstanceProvider.java

 import com.sun.star.bridge.XInstanceProvider;
 
 import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.lang.XServiceInfo;
 import com.sun.star.lang.XSingleServiceFactory;
 
 import com.sun.star.registry.XRegistryKey;

jurt/com/sun/star/comp/connections/PipedConnection.java

 import com.sun.star.connection.XConnection;
 
 import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.lang.XServiceInfo;
 import com.sun.star.lang.XSingleServiceFactory;
 
 import com.sun.star.registry.XRegistryKey;

jurt/com/sun/star/comp/loader/JavaLoader.java

 package com.sun.star.comp.loader;
 
 import java.lang.reflect.Method;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Field;
 
 import java.lang.reflect.InvocationTargetException;
 
 import com.sun.star.loader.XImplementationLoader;
 
 import com.sun.star.registry.CannotRegisterImplementationException;
-import com.sun.star.registry.RegistryKeyType;
-import com.sun.star.registry.RegistryValueType;
-import com.sun.star.registry.InvalidRegistryException;
-import com.sun.star.registry.InvalidValueException;
 import com.sun.star.registry.XRegistryKey;
-import com.sun.star.registry.XSimpleRegistry;
 
 import com.sun.star.lang.XSingleComponentFactory;
 import com.sun.star.lang.XSingleServiceFactory;
 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.lang.XServiceInfo;
-import com.sun.star.lang.ServiceNotRegisteredException;
-import com.sun.star.lang.WrappedTargetException;
 import com.sun.star.lang.XInitialization;
 
 import com.sun.star.uno.XComponentContext;
 import com.sun.star.beans.XPropertySet;
 import com.sun.star.util.XMacroExpander;
 
-import com.sun.star.uno.XInterface;
 import com.sun.star.uno.Type;
 import com.sun.star.uno.UnoRuntime;
 
 
 import com.sun.star.uno.AnyConverter;
 
-import java.io.IOException;
-import java.net.MalformedURLException;
 
 /**
  * The <code>JavaLoader</code> class provides the functionality of the <code>com.sun.star.loader.Java</code>

jurt/com/sun/star/comp/loader/JavaLoaderFactory.java

 import com.sun.star.lang.XSingleServiceFactory;
 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.lang.XServiceInfo;
-import com.sun.star.lang.ServiceNotRegisteredException;
-import com.sun.star.lang.WrappedTargetException;
 
-import com.sun.star.uno.RuntimeException;
-import com.sun.star.uno.Exception;
 
 public class JavaLoaderFactory implements XSingleServiceFactory, XServiceInfo {
 

jurt/com/sun/star/comp/servicemanager/ServiceManager.java

 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.XEventListener;
 import com.sun.star.registry.XRegistryKey;
 import com.sun.star.registry.XSimpleRegistry;
 
-import com.sun.star.loader.CannotActivateFactoryException;
 import com.sun.star.loader.XImplementationLoader;
 
-import com.sun.star.lang.XEventListener;
-//import com.sun.star.lang.EventObject;
-
 import java.lang.reflect.InvocationTargetException;
 
 /**

jurt/com/sun/star/comp/urlresolver/UrlResolver.java

 package com.sun.star.comp.urlresolver;
 
 
-import java.util.Enumeration;
-
-
-import com.sun.star.bridge.BridgeExistsException;
 import com.sun.star.bridge.XBridge;
 import com.sun.star.bridge.XBridgeFactory;
-import com.sun.star.bridge.XInstanceProvider;
 import com.sun.star.bridge.XUnoUrlResolver;
 
 import com.sun.star.comp.loader.FactoryHelper;

jurt/com/sun/star/lib/connections/pipe/PipeConnection.java

  ************************************************************************/
 package com.sun.star.lib.connections.pipe;
 
-import java.io.BufferedInputStream;
-import java.io.BufferedOutputStream;
-import java.io.InputStream;
 import java.io.IOException;
-import java.io.OutputStream;
 
 import java.util.StringTokenizer;
 import java.util.Enumeration;

jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java

 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.lang.XSingleServiceFactory;
 import com.sun.star.registry.XRegistryKey;
-import java.io.IOException;
-import java.net.InetAddress;
 
 /**
  * A component that implements the <code>XAcceptor</code> interface.

jurt/com/sun/star/lib/connections/pipe/pipeConnector.java

 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.lang.XSingleServiceFactory;
 import com.sun.star.registry.XRegistryKey;
-import java.io.IOException;
-import java.net.InetAddress;
-import java.net.UnknownHostException;
 
 /**
  * A component that implements the <code>XConnector</code> interface.

jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java

 import java.io.InputStream;
 import java.io.OutputStream;
 
-import java.lang.reflect.Array;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
 
 import java.util.ArrayList;
 import java.util.Enumeration;
 import com.sun.star.bridge.XBridge;
 import com.sun.star.bridge.XInstanceProvider;
 
-import com.sun.star.comp.loader.FactoryHelper;
-
 import com.sun.star.connection.XConnection;
-import com.sun.star.container.NoSuchElementException;
 import com.sun.star.lang.EventObject;
 import com.sun.star.lang.XComponent;
 import com.sun.star.lang.XEventListener;
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.lang.XSingleServiceFactory;
 import com.sun.star.lang.DisposedException;
 
 import com.sun.star.lib.uno.environments.java.java_environment;
 import com.sun.star.lib.uno.typedesc.MethodDescription;
 import com.sun.star.lib.uno.typedesc.TypeDescription;
 
-import com.sun.star.registry.XRegistryKey;
 
 import com.sun.star.uno.IBridge;
 import com.sun.star.uno.IEnvironment;

jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java

 
 package com.sun.star.lib.uno.environments.remote;
 
-
-import java.util.Enumeration;
-import java.util.Hashtable;
-
-
-import com.sun.star.uno.UnoRuntime;
-
 /**
  * This class implements a java thread pool.
  * <p>

jurt/com/sun/star/lib/uno/environments/remote/Job.java

 package com.sun.star.lib.uno.environments.remote;
 
 
-import java.io.IOException;
 import java.io.PrintWriter;
 import java.io.StringWriter;
 
 
 import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
 
 import com.sun.star.lib.uno.typedesc.MethodDescription;
 import com.sun.star.uno.Any;

jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java

 package com.sun.star.lib.uno.environments.remote;
 
 
-import java.util.Enumeration;
-import java.util.Hashtable;
-import com.sun.star.uno.UnoRuntime;
-
-
-
 /**
  * The <code>JobQueue</code> implements a queue for jobs.
  * For every jobs thread id exists a job queue which is registered

jurt/com/sun/star/lib/util/NativeLibraryLoader.java

 package com.sun.star.lib.util;
 
 import java.io.File;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
 import java.net.URL;
 import java.net.URLClassLoader;
-import java.net.URLDecoder;
-import java.net.URLEncoder;
 
 /** Helper functions to locate and load native files.
 

jurt/com/sun/star/lib/util/UrlToFileMapper.java

 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 import java.net.URL;
-import java.net.URLClassLoader;
 import java.net.URLDecoder;
 import java.net.URLEncoder;
 

jurt/com/sun/star/uno/AnyConverter.java

 package com.sun.star.uno;
-import com.sun.star.lang.IllegalArgumentException;
+
 /** This class provides static methods which aim at exploring the contents of an
  * Any and extracting its value. All public methods take an Object argument that
  * either is the immediate object, such as Boolean, Type, interface implementation,

jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java

-import java.io.*;
 import java.util.*;
 import java.awt.*;
 

odk/source/com/sun/star/lib/loader/InstallationFinder.java

 
 package com.sun.star.lib.loader;
 
-import java.io.BufferedInputStream;
-import java.io.BufferedOutputStream;
 import java.io.BufferedReader;
 import java.io.File;
 import java.io.FileInputStream;
-import java.io.FileOutputStream;
 import java.io.InputStream;
 import java.io.InputStreamReader;
 import java.io.IOException;

qadevOOo/runner/base/basic_fat.java

 import helper.AppProvider;
 import helper.OfficeProvider;
 import helper.OfficeWatcher;
-import helper.ProcessHandler;
 
 import java.io.BufferedReader;
 import java.io.FileReader;
 
         return entryList;
     }
-}
+}

qadevOOo/runner/base/java_cmp.java

 package base;
 
 
-import java.io.PrintWriter;
+import com.sun.star.uno.UnoRuntime;
 
-import stats.OutProducerFactory;
-import lib.TestParameters;
-import lib.TestCase;
-import lib.Status;
-import lib.MultiMethodTest;
-import lib.TestEnvironment;
-import util.DynamicClassLoader;
-
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.connection.XConnector;
-import com.sun.star.connection.XConnection;
-
-import com.sun.star.bridge.XUnoUrlResolver;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XInterface;
-import com.sun.star.uno.XNamingService;
-import com.sun.star.uno.XComponentContext;
-
-import share.DescEntry;
-import share.DescGetter;
 import helper.APIDescGetter;
-import helper.OfficeProvider;
 import helper.AppProvider;
 import base.TestBase;
 
-import share.LogWriter;
-import stats.Summarizer;
 
 /**
  *

qadevOOo/runner/base/java_fat_service.java