cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6686] Minor update to the json provider
Date Fri, 15 Jan 2016 16:22:15 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 0578e1614 -> 6ec4feb8a


[CXF-6686] Minor update to the json provider


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

Branch: refs/heads/master
Commit: 6ec4feb8aa939b1453eae1f3a470c69b959ff1e7
Parents: 0578e16
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Jan 15 16:21:43 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Jan 15 16:21:43 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/6ec4feb8/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 46db726..b84f9ff 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,9 @@ public class OAuthJSONProvider implements MessageBodyWriter<Object>,
             sb.append(",");
             appendJsonPair(sb, "aud", obj.getAud());
         }
+        sb.append(",");
         appendJsonPair(sb, "iat", obj.getIat(), false);
+        sb.append(",");
         appendJsonPair(sb, "exp", obj.getExp(), false);
         sb.append("}");
         String result = sb.toString();


Mime
View raw message