ode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toulm...@apache.org
Subject svn commit: r988379 - in /ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr: URLEndpoint.java WSAEndpoint.java
Date Tue, 24 Aug 2010 04:00:30 GMT
Author: toulmean
Date: Tue Aug 24 04:00:29 2010
New Revision: 988379

URL: http://svn.apache.org/viewvc?rev=988379&view=rev
Log:
fix for ODE-885

Modified:
    ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/URLEndpoint.java
    ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/WSAEndpoint.java

Modified: ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/URLEndpoint.java
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/URLEndpoint.java?rev=988379&r1=988378&r2=988379&view=diff
==============================================================================
--- ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/URLEndpoint.java (original)
+++ ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/URLEndpoint.java Tue Aug 24 04:00:29
2010
@@ -40,7 +40,7 @@ public class URLEndpoint implements Muta
     }
 
     public String getUrl() {
-        return _url;
+        return _url != null ? _url.trim() : null;
     }
 
     public void setUrl(String url) {

Modified: ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/WSAEndpoint.java
URL: http://svn.apache.org/viewvc/ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/WSAEndpoint.java?rev=988379&r1=988378&r2=988379&view=diff
==============================================================================
--- ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/WSAEndpoint.java (original)
+++ ode/trunk/bpel-epr/src/main/java/org/apache/ode/bpel/epr/WSAEndpoint.java Tue Aug 24 04:00:29
2010
@@ -90,7 +90,7 @@ public class WSAEndpoint implements Muta
     }
 
     public String getUrl() {
-        return _eprElmt.getElementsByTagNameNS(Namespaces.WS_ADDRESSING_NS, "Address").item(0).getTextContent();
+        return _eprElmt.getElementsByTagNameNS(Namespaces.WS_ADDRESSING_NS, "Address").item(0).getTextContent().trim();
     }
 
     public void setUrl(String url) {



Mime
View raw message