abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1371882 - /abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMHelper.java
Date Sat, 11 Aug 2012 08:12:54 GMT
Author: veithen
Date: Sat Aug 11 08:12:54 2012
New Revision: 1371882

URL: http://svn.apache.org/viewvc?rev=1371882&view=rev
Log:
Avoid usage of deprecated UUIDGenerator.

Modified:
    abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMHelper.java

Modified: abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMHelper.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMHelper.java?rev=1371882&r1=1371881&r2=1371882&view=diff
==============================================================================
--- abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMHelper.java
(original)
+++ abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMHelper.java
Sat Aug 11 08:12:54 2012
@@ -25,7 +25,7 @@ import org.apache.abdera.model.Category;
 import org.apache.abdera.model.Element;
 import org.apache.abdera.model.Link;
 import org.apache.abdera.util.Constants;
-import org.apache.axiom.om.util.UUIDGenerator;
+import org.apache.axiom.util.UIDGenerator;
 
 @SuppressWarnings("unchecked")
 public class FOMHelper implements Constants {
@@ -50,6 +50,6 @@ public class FOMHelper implements Consta
     }
 
     public static String generateUuid() {
-        return UUIDGenerator.getUUID();
+        return UIDGenerator.generateURNString();
     }
 }



Mime
View raw message