ws-commits mailing list archives

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

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

Thanks to Domislavskiy Michael for the patch.

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

Modified: webservices/wss4j/branches/2_1_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_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/crypto/ThreadLocalSecurityProvider.java?rev=1746699&r1=1746698&r2=1746699&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/crypto/ThreadLocalSecurityProvider.java
(original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-common/src/main/java/org/apache/wss4j/common/crypto/ThreadLocalSecurityProvider.java
Fri Jun  3 09:47:30 2016
@@ -182,7 +182,7 @@ public final class ThreadLocalSecurityPr
         if (p != null) {
             return p.getServices();
         } else {
-            return null;
+            return Collections.emptySet();
         }
     }
 



Mime
View raw message