cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Temp making JoseHeaders abstract again
Date Thu, 06 Aug 2015 15:48:24 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 2d81cd8f0 -> 77ff2fdfe


Temp making JoseHeaders abstract again


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

Branch: refs/heads/3.0.x-fixes
Commit: 77ff2fdfec4ac2d555eba310f6db7e7c7a8743db
Parents: 2d81cd8
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Aug 6 16:47:22 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Aug 6 16:48:09 2015 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/rs/security/jose/JoseHeaders.java | 2 +-
 .../main/java/org/apache/cxf/rs/security/jose/jwt/JwtToken.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/77ff2fdf/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/JoseHeaders.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/JoseHeaders.java
b/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/JoseHeaders.java
index 66c7863..fd111e6 100644
--- a/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/JoseHeaders.java
+++ b/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/JoseHeaders.java
@@ -26,7 +26,7 @@ import org.apache.cxf.helpers.CastUtils;
 import org.apache.cxf.jaxrs.provider.json.JsonMapObject;
 import org.apache.cxf.rs.security.jose.jwk.JsonWebKey;
 
-public class JoseHeaders extends JsonMapObject {
+public abstract class JoseHeaders extends JsonMapObject {
     public JoseHeaders() {
     }
     

http://git-wip-us.apache.org/repos/asf/cxf/blob/77ff2fdf/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jwt/JwtToken.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jwt/JwtToken.java
b/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jwt/JwtToken.java
index 077c500..f8be716 100644
--- a/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jwt/JwtToken.java
+++ b/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jwt/JwtToken.java
@@ -26,7 +26,7 @@ public class JwtToken {
     private JoseHeaders headers;
     private JwtClaims claims;
     public JwtToken(JwtClaims claims) {
-        this(new JoseHeaders(), claims);
+        this(new JoseHeaders() { }, claims);
     }
     public JwtToken(JoseHeaders headers, JwtClaims claims) {
         this.headers = headers;


Mime
View raw message