cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject cxf git commit: Fix build error
Date Thu, 23 Jul 2015 03:36:35 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 21779aebd -> e0932dcd5


Fix build error


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

Branch: refs/heads/master
Commit: e0932dcd5ed1e598caa2291b4a1891a5444ca48d
Parents: 21779ae
Author: Jim Ma <ema@apache.org>
Authored: Thu Jul 23 11:33:10 2015 +0800
Committer: Jim Ma <ema@apache.org>
Committed: Thu Jul 23 11:33:10 2015 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/rs/security/jose/JoseHeaders.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e0932dcd/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 df7867d..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
@@ -61,11 +61,11 @@ public abstract class JoseHeaders extends JsonMapObject {
         return (String)getHeader(JoseConstants.HEADER_CONTENT_TYPE);
     }
     
-    protected void setAlgorithm(String algo) {
+    public void setAlgorithm(String algo) {
         setHeader(JoseConstants.HEADER_ALGORITHM, algo);
     }
     
-    protected String getAlgorithm() {
+    public String getAlgorithm() {
         Object prop = getHeader(JoseConstants.HEADER_ALGORITHM);
         return prop == null ? null : prop.toString();
     }


Mime
View raw message