cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing a typo in OAuthJsonProvider
Date Thu, 21 Jan 2016 16:57:17 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 73cce96fa -> 4612855a0


Fixing a typo in OAuthJsonProvider


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4612855a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4612855a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4612855a

Branch: refs/heads/3.1.x-fixes
Commit: 4612855a0f44b5f3bf4513c241d4ea1622bf1819
Parents: 73cce96
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Jan 21 16:53:18 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Jan 21 16:54:37 2016 +0000

----------------------------------------------------------------------
 .../apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4612855a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java
index d2a6766..42f039a 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java
@@ -94,7 +94,7 @@ public class OAuthJSONProvider implements MessageBodyWriter<Object>,
                 sb.append(",");
                 appendJsonPair(sb, OAuthConstants.SCOPE, obj.getScope());
             }
-            if (StringUtils.isEmpty(obj.getAud())) {
+            if (!StringUtils.isEmpty(obj.getAud())) {
                 sb.append(",");
                 if (obj.getAud().size() == 1) {
                     appendJsonPair(sb, "aud", obj.getAud());


Mime
View raw message