From 8c9fdc4a963fd55da59a93c979071f53b84fbc24 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Aug 2014 17:05:54 +0200 Subject: java: remove modifiers implied by the context found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31 --- .../star/lib/uno/environments/remote/IThreadPool.java | 18 +++++++++--------- .../star/lib/uno/environments/remote/TestIWorkAt.java | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'jurt') diff --git a/jurt/com/sun/star/lib/uno/environments/remote/IThreadPool.java b/jurt/com/sun/star/lib/uno/environments/remote/IThreadPool.java index 385b79c2c230..f862655a643a 100644 --- a/jurt/com/sun/star/lib/uno/environments/remote/IThreadPool.java +++ b/jurt/com/sun/star/lib/uno/environments/remote/IThreadPool.java @@ -38,7 +38,7 @@ public interface IThreadPool { * * @see #enter */ - public void attach(); + void attach(); /** * As above, but hands in an already existing instance of the threadid of @@ -49,13 +49,13 @@ public interface IThreadPool { * @return Returns a handle which can be used in enter and detach calls. * @see #attach */ - public Object attach( ThreadId id ); + Object attach( ThreadId id ); /** * Detaches this thread from the thread pool. * @see #enter */ - public void detach(); + void detach(); /** * As above, but hands in an already existing instance of the threadid of @@ -66,7 +66,7 @@ public interface IThreadPool { * @see #attach() * @see #detach() */ - public void detach( Object handle, ThreadId id ); + void detach( Object handle, ThreadId id ); /** * Lets this thread enter the thread pool. @@ -76,7 +76,7 @@ public interface IThreadPool { * * @see #putJob */ - public Object enter() throws Throwable; + Object enter() throws Throwable; /** * As above but hands in an already existing instance of the threadid of @@ -87,7 +87,7 @@ public interface IThreadPool { * * @see #putJob */ - public Object enter( Object handle, ThreadId id ) throws Throwable; + Object enter( Object handle, ThreadId id ) throws Throwable; /** * Queues a job into the jobQueue of the thread belonging to the jobs @@ -95,7 +95,7 @@ public interface IThreadPool { * * @param job the job */ - public void putJob(Job job); + void putJob(Job job); /** * Disposes this thread pool, thus releasing all threads by throwing a @@ -103,12 +103,12 @@ public interface IThreadPool { * * @param throwable the cause */ - public void dispose(Throwable throwable); + void dispose(Throwable throwable); /** * Destroys the thread pool and tries to join all created threads immediately. */ - public void destroy(); + void destroy(); } diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/TestIWorkAt.java b/jurt/test/com/sun/star/lib/uno/environments/remote/TestIWorkAt.java index 58171bd35009..1adf15556cff 100644 --- a/jurt/test/com/sun/star/lib/uno/environments/remote/TestIWorkAt.java +++ b/jurt/test/com/sun/star/lib/uno/environments/remote/TestIWorkAt.java @@ -31,7 +31,7 @@ public interface TestIWorkAt extends XInterface { void notifyme(); - public static final TypeInfo UNOTYPEINFO[] = { + TypeInfo UNOTYPEINFO[] = { new MethodTypeInfo("increment", 0, 0), new MethodTypeInfo("notifyme", 1, 0), new MethodTypeInfo("syncCall", 2, 0), -- cgit