cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1513976 - /cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java
Date Wed, 14 Aug 2013 17:52:06 GMT
Author: dkulp
Date: Wed Aug 14 17:52:06 2013
New Revision: 1513976

URL: http://svn.apache.org/r1513976
Log:
[CXF-5195] Update check for hte proper namespace
Patch from Alex Halovanic applied

Modified:
    cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java

Modified: cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java?rev=1513976&r1=1513975&r2=1513976&view=diff
==============================================================================
--- cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java
(original)
+++ cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java
Wed Aug 14 17:52:06 2013
@@ -192,7 +192,7 @@ public final class EndpointReferenceUtil
             // searching for a namespace match
             if (namespaceURI != null) {
                 for (Map.Entry<String, byte[]> ent : schemas.entrySet()) {
-                    if (ent.getKey().endsWith(namespaceURI)) {
+                    if (ent.getKey().endsWith(":" + namespaceURI)) {
                         schemas.remove(ent.getKey());
                         impl = new LSInputImpl();
                         impl.setSystemId(newId);



Mime
View raw message