cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1410181 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBusImpl.java
Date Fri, 16 Nov 2012 03:11:25 GMT
Author: dkulp
Date: Fri Nov 16 03:11:25 2012
New Revision: 1410181

URL: http://svn.apache.org/viewvc?rev=1410181&view=rev
Log:
Make sure the generated busid doesn't have a - in it as some patterns
don't account for it.

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBusImpl.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBusImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBusImpl.java?rev=1410181&r1=1410180&r2=1410181&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBusImpl.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBusImpl.java Fri Nov 16 03:11:25
2012
@@ -162,7 +162,7 @@ public class CXFBusImpl extends Abstract
     }
      
     public String getId() {        
-        return null == id ? DEFAULT_BUS_ID + Integer.toString(this.hashCode()) : id;
+        return null == id ? DEFAULT_BUS_ID + Integer.toString(Math.abs(this.hashCode()))
: id;
     }
 
     public void run() {



Mime
View raw message