replacing Boolean with primitive boolean
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/8966898c Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/8966898c Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/8966898c Branch: refs/heads/master Commit: 8966898c8533a08d6a330cbaf4f48c7e593993df Parents: 4c18642 Author: CesarHernandezGt <[email protected]> Authored: Fri Dec 14 09:40:29 2018 -0600 Committer: CesarHernandezGt <[email protected]> Committed: Fri Dec 14 09:40:29 2018 -0600 ---------------------------------------------------------------------- .../jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/8966898c/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java ---------------------------------------------------------------------- diff --git a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java index ad067d3..fdba7bc 100644 --- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java +++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java @@ -42,7 +42,7 @@ public class MPJWTSecurityAnnotationsInterceptor implements ContainerRequestFilt if (roles != null && !roles.isEmpty()) { final SecurityContext securityContext = requestContext.getSecurityContext(); - Boolean hasAtLeasOneValidRole = false; + boolean hasAtLeasOneValidRole = false; for (String role : roles) { if (securityContext.isUserInRole(role)) { hasAtLeasOneValidRole = true;
