You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yoko-commits@incubator.apache.org by lk...@apache.org on 2007/05/22 18:24:58 UTC

svn commit: r540678 - /incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaDestination.java

Author: lkuehne
Date: Tue May 22 11:24:57 2007
New Revision: 540678

URL: http://svn.apache.org/viewvc?view=rev&rev=540678
Log:
YOKO-368: incorporated user contributed fix

Modified:
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaDestination.java

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaDestination.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaDestination.java?view=diff&rev=540678&r1=540677&r2=540678
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaDestination.java (original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaDestination.java Tue May 22 11:24:57 2007
@@ -253,7 +253,7 @@
             // Since we know that http is not valid for a corba address, check for the
             // existance of this string at the beginning of our address and remove if
             // necessary.
-            if (location.startsWith("http://localhost/")) {
+            if (location != null && location.startsWith("http://localhost/")) {
                 location = location.substring("http://localhost/".length());
             }
         }