You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2018/12/14 15:55:50 UTC
[5/6] tomee git commit: replacing Boolean with primitive boolean
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 <cf...@gmail.com>
Authored: Fri Dec 14 09:40:29 2018 -0600
Committer: CesarHernandezGt <cf...@gmail.com>
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;