You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by rm...@apache.org on 2018/11/23 16:44:48 UTC
svn commit: r1847293 -
/openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/cxf/CxfCdiAutoSetup.java
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;
}