PMD
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/7f4526a0 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/7f4526a0 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/7f4526a0 Branch: refs/heads/tomee-7.0.0-M1 Commit: 7f4526a0036215ed6ba9d78a39e004f204f69ebe Parents: 3035c83 Author: andygumbre...@apache.org <andy...@gmx.de> Authored: Mon Nov 2 20:04:54 2015 +0100 Committer: andygumbre...@apache.org <andy...@gmx.de> Committed: Mon Nov 2 20:04:54 2015 +0100 ---------------------------------------------------------------------- .../catalina/websocket/JavaEEDefaultServerEnpointConfigurator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/7f4526a0/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/websocket/JavaEEDefaultServerEnpointConfigurator.java ---------------------------------------------------------------------- diff --git a/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/websocket/JavaEEDefaultServerEnpointConfigurator.java b/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/websocket/JavaEEDefaultServerEnpointConfigurator.java index 6613c70..f73b80f 100644 --- a/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/websocket/JavaEEDefaultServerEnpointConfigurator.java +++ b/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/websocket/JavaEEDefaultServerEnpointConfigurator.java @@ -141,7 +141,7 @@ public class JavaEEDefaultServerEnpointConfigurator extends DefaultServerEndpoin } } - private static class CdiCleanUpBackgroundProcess implements BackgroundProcess { + private static final class CdiCleanUpBackgroundProcess implements BackgroundProcess { private volatile int period = 1; // 1s by default private volatile int acceptRetries = 3; // in case there is latency between this call and registerSession() private volatile Set<Session> sessions;