tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andygumbre...@apache.org
Subject svn commit: r1608172 - in /tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads: impl/ContextServiceImpl.java impl/ManagedScheduledExecutorServiceImpl.java task/CUTask.java
Date Sun, 06 Jul 2014 08:20:13 GMT
Author: andygumbrecht
Date: Sun Jul  6 08:20:12 2014
New Revision: 1608172

URL: http://svn.apache.org/r1608172
Log:
PMD

Modified:
    tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ContextServiceImpl.java
    tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedScheduledExecutorServiceImpl.java
    tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/task/CUTask.java

Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ContextServiceImpl.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ContextServiceImpl.java?rev=1608172&r1=1608171&r2=1608172&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ContextServiceImpl.java
(original)
+++ tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ContextServiceImpl.java
Sun Jul  6 08:20:12 2014
@@ -58,7 +58,7 @@ public class ContextServiceImpl implemen
         return CUHandler.class.cast(Proxy.getInvocationHandler(contextualProxy)).properties;
     }
 
-    private static class CUHandler extends CUTask<Object> implements InvocationHandler,
Serializable {
+    private static final class CUHandler extends CUTask<Object> implements InvocationHandler,
Serializable {
         private final Object instance;
         private final Map<String, String> properties;
         private final boolean suspendTx;

Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedScheduledExecutorServiceImpl.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedScheduledExecutorServiceImpl.java?rev=1608172&r1=1608171&r2=1608172&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedScheduledExecutorServiceImpl.java
(original)
+++ tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedScheduledExecutorServiceImpl.java
Sun Jul  6 08:20:12 2014
@@ -115,7 +115,7 @@ public class ManagedScheduledExecutorSer
         return null;
     }
 
-    private static class ScheduledFutureFacade<V> implements InvocationHandler {
+    private static final class ScheduledFutureFacade<V> implements InvocationHandler
{
         private final AtomicReference<ScheduledFuture<V>> delegate;
 
         private ScheduledFutureFacade(final AtomicReference<ScheduledFuture<V>>
delegate) {

Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/task/CUTask.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/task/CUTask.java?rev=1608172&r1=1608171&r2=1608172&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/task/CUTask.java
(original)
+++ tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/threads/task/CUTask.java
Sun Jul  6 08:20:12 2014
@@ -75,7 +75,7 @@ public abstract class CUTask<T> extends 
         throw new OpenEJBRuntimeException(t.getMessage(), t);
     }
 
-    public static class Context {
+    public static final class Context {
         /*
         private static final Class<?>[] THREAD_SCOPES = new Class<?>[] {
                 RequestScoped.class, SessionScoped.class, ConversationScoped.class



Mime
View raw message