summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-13 17:05:54 +0200
committerNoel Grandin <noel@peralex.com>2014-08-20 11:45:28 +0200
commit8c9fdc4a963fd55da59a93c979071f53b84fbc24 (patch)
treee913f69cee6ec9e3e2072f73d58088ae74d2260d /jurt
parent34352e7f1b0fe55da4d1d43921674344ae6deafc (diff)
java: remove modifiers implied by the context
found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/lib/uno/environments/remote/IThreadPool.java18
-rw-r--r--jurt/test/com/sun/star/lib/uno/environments/remote/TestIWorkAt.java2
2 files changed, 10 insertions, 10 deletions
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),