cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1133040 - in /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j: WSS4JInInterceptor.java WSS4JOutInterceptor.java
Date Tue, 07 Jun 2011 15:06:57 GMT
Author: coheigea
Date: Tue Jun  7 15:06:56 2011
New Revision: 1133040

URL: http://svn.apache.org/viewvc?rev=1133040&view=rev
Log:
Fixed some more findbugs problems.

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java?rev=1133040&r1=1133039&r2=1133040&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
Tue Jun  7 15:06:56 2011
@@ -158,7 +158,7 @@ public class WSS4JInInterceptor extends 
         
         // handle the special case of the SEND_SIGV
         if (result == null 
-            && key == WSHandlerConstants.SEND_SIGV
+            && WSHandlerConstants.SEND_SIGV.equals(key)
             && this.isRequestor((SoapMessage)msgContext)) {
             result = ((SoapMessage)msgContext).getExchange().getOutMessage().get(key);
         }               

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java?rev=1133040&r1=1133039&r2=1133040&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
Tue Jun  7 15:06:56 2011
@@ -105,7 +105,7 @@ public class WSS4JOutInterceptor extends
         
         // handle the special case of the RECV_RESULTS
         if (result == null 
-            && key == WSHandlerConstants.RECV_RESULTS
+            && WSHandlerConstants.RECV_RESULTS.equals(key)
             && !this.isRequestor((SoapMessage)msgContext)) {
             result = ((SoapMessage)msgContext).getExchange().getInMessage().get(key);
         }               



Mime
View raw message