openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1847293 - /openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/cxf/CxfCdiAutoSetup.java
Date Fri, 23 Nov 2018 16:44:48 GMT
Author: rmannibucau
Date: Fri Nov 23 16:44:48 2018
New Revision: 1847293

URL: http://svn.apache.org/viewvc?rev=1847293&view=rev
Log:
small enhancement to ensure we don't log wrong addresses in the console (additional /), thanks
@jlmonteiro to have spotted it

Modified:
    openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/cxf/CxfCdiAutoSetup.java

Modified: openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/cxf/CxfCdiAutoSetup.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/cxf/CxfCdiAutoSetup.java?rev=1847293&r1=1847292&r2=1847293&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/cxf/CxfCdiAutoSetup.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/cxf/CxfCdiAutoSetup.java
Fri Nov 23 16:44:48 2018
@@ -246,6 +246,9 @@ public class CxfCdiAutoSetup implements
             if (!address.endsWith("/") && !value.startsWith("/")) {
                 return address + '/' + value;
             }
+            if ("/".equals(value)) {
+                return address;
+            }
             return address + value;
         }
 



Mime
View raw message