cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject git commit: Some minor changes
Date Tue, 03 Jun 2014 16:49:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/master c9af77e94 -> 8b457fda0


Some minor changes


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

Branch: refs/heads/master
Commit: 8b457fda0421ed5594a9e5e19349e265c5b1fbf8
Parents: c9af77e
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Jun 3 17:49:12 2014 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Jun 3 17:49:30 2014 +0100

----------------------------------------------------------------------
 .../cxf/ws/security/wss4j/AbstractWSS4JInterceptor.java | 12 ++----------
 .../ws/security/wss4j/AbstractWSS4JStaxInterceptor.java | 12 ++----------
 2 files changed, 4 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/8b457fda/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JInterceptor.java
index 0d743e6..ed97f3f 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JInterceptor.java
@@ -61,8 +61,8 @@ public abstract class AbstractWSS4JInterceptor extends WSHandler implements
Soap
     }
 
     private Map<String, Object> properties = new ConcurrentHashMap<String, Object>();
-    private Set<String> before = new HashSet<String>();
-    private Set<String> after = new HashSet<String>();
+    private final Set<String> before = new HashSet<String>();
+    private final Set<String> after = new HashSet<String>();
     private String phase;
     private String id;
     
@@ -144,18 +144,10 @@ public abstract class AbstractWSS4JInterceptor extends WSHandler implements
Soap
         return after;
     }
 
-    public void setAfter(Set<String> after) {
-        this.after = after;
-    }
-
     public Set<String> getBefore() {
         return before;
     }
 
-    public void setBefore(Set<String> before) {
-        this.before = before;
-    }
-    
     protected boolean isRequestor(SoapMessage message) {
         return MessageUtils.isRequestor(message);
     }  

http://git-wip-us.apache.org/repos/asf/cxf/blob/8b457fda/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
index 68c13b3..630e8dc 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
@@ -84,8 +84,8 @@ public abstract class AbstractWSS4JStaxInterceptor implements SoapInterceptor,
     private Map<String, Object> properties = new ConcurrentHashMap<String, Object>();
     private Map<String, Crypto> cryptos = new ConcurrentHashMap<String, Crypto>();
     private WSSSecurityProperties userSecurityProperties;
-    private Set<String> before = new HashSet<String>();
-    private Set<String> after = new HashSet<String>();
+    private final Set<String> before = new HashSet<String>();
+    private final Set<String> after = new HashSet<String>();
     private String phase;
     private String id;
     
@@ -308,18 +308,10 @@ public abstract class AbstractWSS4JStaxInterceptor implements SoapInterceptor,
         return after;
     }
 
-    public void setAfter(Set<String> after) {
-        this.after = after;
-    }
-
     public Set<String> getBefore() {
         return before;
     }
 
-    public void setBefore(Set<String> before) {
-        this.before = before;
-    }
-    
     protected boolean isRequestor(SoapMessage message) {
         return MessageUtils.isRequestor(message);
     }


Mime
View raw message