You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2012/04/22 00:36:54 UTC

svn commit: r1328744 - /axis/axis2/java/sandesha/trunk/modules/core/src/main/java/org/apache/sandesha2/util/SandeshaUtil.java

Author: veithen
Date: Sat Apr 21 22:36:54 2012
New Revision: 1328744

URL: http://svn.apache.org/viewvc?rev=1328744&view=rev
Log:
Eliminated a couple of references to deprecated classes so that we don't need to add a dependency to axiom-compat.

Modified:
    axis/axis2/java/sandesha/trunk/modules/core/src/main/java/org/apache/sandesha2/util/SandeshaUtil.java

Modified: axis/axis2/java/sandesha/trunk/modules/core/src/main/java/org/apache/sandesha2/util/SandeshaUtil.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/sandesha/trunk/modules/core/src/main/java/org/apache/sandesha2/util/SandeshaUtil.java?rev=1328744&r1=1328743&r2=1328744&view=diff
==============================================================================
--- axis/axis2/java/sandesha/trunk/modules/core/src/main/java/org/apache/sandesha2/util/SandeshaUtil.java (original)
+++ axis/axis2/java/sandesha/trunk/modules/core/src/main/java/org/apache/sandesha2/util/SandeshaUtil.java Sat Apr 21 22:36:54 2012
@@ -38,6 +38,7 @@ import org.apache.axiom.soap.SOAPEnvelop
 import org.apache.axiom.soap.SOAPFactory;
 import org.apache.axiom.soap.SOAPHeader;
 import org.apache.axiom.soap.SOAPHeaderBlock;
+import org.apache.axiom.util.UIDGenerator;
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.Constants;
 import org.apache.axis2.addressing.AddressingConstants;
@@ -124,7 +125,7 @@ public class SandeshaUtil {
 	 */
 	public static String getUUID() {
 		// String uuid = "uuid:" + UUIDGenerator.getUUID();
-		String uuid = org.apache.axiom.om.util.UUIDGenerator.getUUID();
+		String uuid = UIDGenerator.generateURNString();
 
 		return uuid;
 	}