diff options
author | Release Engineers <releng@openoffice.org> | 2009-05-07 06:54:56 +0000 |
---|---|---|
committer | Release Engineers <releng@openoffice.org> | 2009-05-07 06:54:56 +0000 |
commit | 5edbbb8f508f5e66a63a5f5e6add69cadfd68d49 (patch) | |
tree | 67618a460c909810a6bcba2ec807884b28dd5e0b /jurt/com/sun | |
parent | 4c92a8abbf05d76d5083466641dd01f2004ad664 (diff) |
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
Diffstat (limited to 'jurt/com/sun')
17 files changed, 1 insertions, 74 deletions
diff --git a/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java b/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java index c07df5ec9..4b312ce8c 100644 --- a/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java +++ b/jurt/com/sun/star/comp/bridgefactory/BridgeFactory.java @@ -31,13 +31,9 @@ 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; diff --git a/jurt/com/sun/star/comp/connections/ConstantInstanceProvider.java b/jurt/com/sun/star/comp/connections/ConstantInstanceProvider.java index 6fcc056fd..74a512787 100644 --- a/jurt/com/sun/star/comp/connections/ConstantInstanceProvider.java +++ b/jurt/com/sun/star/comp/connections/ConstantInstanceProvider.java @@ -33,7 +33,6 @@ package com.sun.star.comp.connections; 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; diff --git a/jurt/com/sun/star/comp/connections/PipedConnection.java b/jurt/com/sun/star/comp/connections/PipedConnection.java index 0894667ef..6fb4177c0 100644 --- a/jurt/com/sun/star/comp/connections/PipedConnection.java +++ b/jurt/com/sun/star/comp/connections/PipedConnection.java @@ -36,7 +36,6 @@ import com.sun.star.comp.loader.FactoryHelper; 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; diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java index 1c2b9c20b..3f20e8ea4 100644 --- a/jurt/com/sun/star/comp/loader/JavaLoader.java +++ b/jurt/com/sun/star/comp/loader/JavaLoader.java @@ -31,8 +31,6 @@ 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; @@ -42,26 +40,18 @@ import com.sun.star.loader.CannotActivateFactoryException; 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; @@ -69,8 +59,6 @@ import com.sun.star.lib.util.StringHelper; 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> diff --git a/jurt/com/sun/star/comp/loader/JavaLoaderFactory.java b/jurt/com/sun/star/comp/loader/JavaLoaderFactory.java index 503f23a92..e696f00a7 100644 --- a/jurt/com/sun/star/comp/loader/JavaLoaderFactory.java +++ b/jurt/com/sun/star/comp/loader/JavaLoaderFactory.java @@ -33,11 +33,7 @@ package com.sun.star.comp.loader; 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 { diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java index 3a1ef8ba7..1ebc0c3dc 100644 --- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java +++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java @@ -36,8 +36,6 @@ import com.sun.star.uno.XComponentContext; 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; @@ -51,12 +49,8 @@ import com.sun.star.lang.XMultiComponentFactory; 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; /** diff --git a/jurt/com/sun/star/comp/urlresolver/UrlResolver.java b/jurt/com/sun/star/comp/urlresolver/UrlResolver.java index 902d62bc6..8a9635d20 100644 --- a/jurt/com/sun/star/comp/urlresolver/UrlResolver.java +++ b/jurt/com/sun/star/comp/urlresolver/UrlResolver.java @@ -31,13 +31,8 @@ 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; diff --git a/jurt/com/sun/star/lib/connections/pipe/PipeConnection.java b/jurt/com/sun/star/lib/connections/pipe/PipeConnection.java index 8bb50c7bf..e92c02ddd 100644 --- a/jurt/com/sun/star/lib/connections/pipe/PipeConnection.java +++ b/jurt/com/sun/star/lib/connections/pipe/PipeConnection.java @@ -29,11 +29,7 @@ ************************************************************************/ 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; diff --git a/jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java b/jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java index f1db64ea1..f83b61ad9 100644 --- a/jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java +++ b/jurt/com/sun/star/lib/connections/pipe/pipeAcceptor.java @@ -38,8 +38,6 @@ import com.sun.star.connection.XConnection; 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. diff --git a/jurt/com/sun/star/lib/connections/pipe/pipeConnector.java b/jurt/com/sun/star/lib/connections/pipe/pipeConnector.java index a81f74fce..5450d1ce8 100644 --- a/jurt/com/sun/star/lib/connections/pipe/pipeConnector.java +++ b/jurt/com/sun/star/lib/connections/pipe/pipeConnector.java @@ -38,9 +38,6 @@ import com.sun.star.connection.XConnector; 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. diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java index a55f9958d..c081de4ab 100644 --- a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java +++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java @@ -34,10 +34,6 @@ import java.io.IOException; 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; @@ -53,15 +49,10 @@ import com.sun.star.lib.util.DisposeNotifier; 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; @@ -76,7 +67,6 @@ import com.sun.star.lib.uno.environments.remote.IThreadPool; 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; diff --git a/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java b/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java index 7b49886f3..a5cbbf98e 100644 --- a/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java +++ b/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java @@ -30,13 +30,6 @@ 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> diff --git a/jurt/com/sun/star/lib/uno/environments/remote/Job.java b/jurt/com/sun/star/lib/uno/environments/remote/Job.java index 9e8a8c3fa..895fba59e 100644 --- a/jurt/com/sun/star/lib/uno/environments/remote/Job.java +++ b/jurt/com/sun/star/lib/uno/environments/remote/Job.java @@ -31,13 +31,11 @@ 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; diff --git a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java index a7cf9cb0e..26da87ead 100644 --- a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java +++ b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java @@ -31,12 +31,6 @@ 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 diff --git a/jurt/com/sun/star/lib/util/NativeLibraryLoader.java b/jurt/com/sun/star/lib/util/NativeLibraryLoader.java index 9c3a170e8..0920edd56 100644 --- a/jurt/com/sun/star/lib/util/NativeLibraryLoader.java +++ b/jurt/com/sun/star/lib/util/NativeLibraryLoader.java @@ -30,13 +30,8 @@ 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. diff --git a/jurt/com/sun/star/lib/util/UrlToFileMapper.java b/jurt/com/sun/star/lib/util/UrlToFileMapper.java index 7970798d4..c1448184e 100644 --- a/jurt/com/sun/star/lib/util/UrlToFileMapper.java +++ b/jurt/com/sun/star/lib/util/UrlToFileMapper.java @@ -34,7 +34,6 @@ 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; diff --git a/jurt/com/sun/star/uno/AnyConverter.java b/jurt/com/sun/star/uno/AnyConverter.java index 2e742d5dd..d2d01cc64 100644 --- a/jurt/com/sun/star/uno/AnyConverter.java +++ b/jurt/com/sun/star/uno/AnyConverter.java @@ -1,5 +1,5 @@ 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, |