Repository: cxf Updated Branches: refs/heads/master 386805560 -> 83451c004
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/83451c00 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/83451c00 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/83451c00 Branch: refs/heads/master Commit: 83451c004cf5a6ac9a0f7c08f38fdad2261cb9b4 Parents: 3868055 Author: Sergey Beryozkin <sberyoz...@gmail.com> Authored: Thu Jan 21 16:53:18 2016 +0000 Committer: Sergey Beryozkin <sberyoz...@gmail.com> Committed: Thu Jan 21 16:53:18 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/83451c00/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());