ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1608789 - /webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/WSDocInfo.java
Date Tue, 08 Jul 2014 13:59:03 GMT
Author: coheigea
Date: Tue Jul  8 13:59:03 2014
New Revision: 1608789

URL: http://svn.apache.org/r1608789
Log:
Minor change to WSDocInfo

Modified:
    webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/WSDocInfo.java

Modified: webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/WSDocInfo.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/WSDocInfo.java?rev=1608789&r1=1608788&r2=1608789&view=diff
==============================================================================
--- webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/WSDocInfo.java
(original)
+++ webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/WSDocInfo.java
Tue Jul  8 13:59:03 2014
@@ -261,7 +261,7 @@ public class WSDocInfo {
      */
     public WSSecurityEngineResult getResultByTag(Integer tag, String uri) {
         String id = uri;
-        if (id == null) {
+        if (id == null || "".equals(uri)) {
             return null;
         } else if (id.charAt(0) == '#') {
             id = id.substring(1);



Mime
View raw message