jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1209028 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
Date Thu, 01 Dec 2011 10:50:06 GMT
Author: angela
Date: Thu Dec  1 10:50:05 2011
New Revision: 1209028

URL: http://svn.apache.org/viewvc?rev=1209028&view=rev
Log:
JCR-3161 - Add JcrUtils.getPropertyTypeNames

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java?rev=1209028&r1=1209027&r2=1209028&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
Thu Dec  1 10:50:05 2011
@@ -25,12 +25,12 @@ import java.io.OutputStream;
 import java.io.UnsupportedEncodingException;
 import java.net.URI;
 import java.net.URISyntaxException;
+import java.util.ArrayList;
 import java.util.Calendar;
 import java.util.HashMap;
-import java.util.HashSet;
 import java.util.Iterator;
+import java.util.List;
 import java.util.Map;
-import java.util.Set;
 import java.util.StringTokenizer;
 
 import javax.imageio.spi.ServiceRegistry;
@@ -832,7 +832,7 @@ public class JcrUtils {
         }
     }
 
-    private static final Set<String> PROPERTY_TYPES_NAMES = new HashSet<String>();
+    private static final List<String> PROPERTY_TYPES_NAMES = new ArrayList<String>();
     private static final Map<String, Integer> PROPERTY_TYPES = new HashMap<String,
Integer>();
     static {
         for (int i = PropertyType.UNDEFINED; i <= PropertyType.DECIMAL; i++) {



Mime
View raw message