ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1746703 - /webservices/wss4j/branches/2_0_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/crypto/ThreadLocalSecurityProvider.java
Date Fri, 03 Jun 2016 09:56:02 GMT
Author: coheigea
Date: Fri Jun  3 09:56:02 2016
New Revision: 1746703

URL: http://svn.apache.org/viewvc?rev=1746703&view=rev
Log:
[WSS-580] - ThreadLocalSecurityProvider returns null instead of empty collection.

Thanks to Domislavskiy Michael for the patch.

Modified:
    webservices/wss4j/branches/2_0_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/crypto/ThreadLocalSecurityProvider.java

Modified: webservices/wss4j/branches/2_0_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/crypto/ThreadLocalSecurityProvider.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_0_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/crypto/ThreadLocalSecurityProvider.java?rev=1746703&r1=1746702&r2=1746703&view=diff
==============================================================================
--- webservices/wss4j/branches/2_0_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/crypto/ThreadLocalSecurityProvider.java
(original)
+++ webservices/wss4j/branches/2_0_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/crypto/ThreadLocalSecurityProvider.java
Fri Jun  3 09:56:02 2016
@@ -184,7 +184,7 @@ public final class ThreadLocalSecurityPr
         if (p != null) {
             return p.getServices();
         } else {
-            return null;
+            return Collections.emptySet();
         }
     }
 



Mime
View raw message