You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ra...@apache.org on 2019/01/17 13:10:31 UTC

[tomee] 17/17: TOMEE-2365 - Checkstyle issues.

This is an automated email from the ASF dual-hosted git repository.

radcortez pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit 0373733fcd6c7c41a7dc2afbc44bf745eccfb1d5
Author: Roberto Cortez <ra...@yahoo.com>
AuthorDate: Thu Jan 17 12:58:26 2019 +0000

    TOMEE-2365 - Checkstyle issues.
---
 .../enterprise/authentication/mechanism/http/AutoApplySession.java     | 3 +--
 .../apache/tomee/security/provider/TomEESecurityServerAuthModule.java  | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/tomee/tomee-security/src/main/java/javax/security/enterprise/authentication/mechanism/http/AutoApplySession.java b/tomee/tomee-security/src/main/java/javax/security/enterprise/authentication/mechanism/http/AutoApplySession.java
index 534e78f..291c726 100644
--- a/tomee/tomee-security/src/main/java/javax/security/enterprise/authentication/mechanism/http/AutoApplySession.java
+++ b/tomee/tomee-security/src/main/java/javax/security/enterprise/authentication/mechanism/http/AutoApplySession.java
@@ -31,10 +31,9 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
 @Target(TYPE)
 public @interface AutoApplySession {
     @SuppressWarnings("all")
-    public final static class Literal extends AnnotationLiteral<AutoApplySession> implements AutoApplySession {
+    public static final class Literal extends AnnotationLiteral<AutoApplySession> implements AutoApplySession {
         private static final long serialVersionUID = 1L;
 
         public static final Literal INSTANCE = new Literal();
-
     }
 }
diff --git a/tomee/tomee-security/src/main/java/org/apache/tomee/security/provider/TomEESecurityServerAuthModule.java b/tomee/tomee-security/src/main/java/org/apache/tomee/security/provider/TomEESecurityServerAuthModule.java
index f48f6db..ad505c0 100644
--- a/tomee/tomee-security/src/main/java/org/apache/tomee/security/provider/TomEESecurityServerAuthModule.java
+++ b/tomee/tomee-security/src/main/java/org/apache/tomee/security/provider/TomEESecurityServerAuthModule.java
@@ -30,7 +30,6 @@ import javax.security.enterprise.AuthenticationException;
 import javax.security.enterprise.AuthenticationStatus;
 import javax.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism;
 import javax.security.enterprise.authentication.mechanism.http.HttpMessageContext;
-import javax.servlet.http.HttpServletRequest;
 import java.util.Map;
 
 import static org.apache.tomee.security.http.TomEEHttpMessageContext.httpMessageContext;