jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r383708 - /incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/compact/CompactNodeTypeDefReader.java
Date Mon, 06 Mar 2006 23:37:43 GMT
Author: jukka
Date: Mon Mar  6 15:37:42 2006
New Revision: 383708

URL: http://svn.apache.org/viewcvs?rev=383708&view=rev
Log:
JCR-333: Maintain explicit supertype ordering to avoid unexpected problems with undefined
ordering of HashSet elements. This is a workaround for the failing CompactNodeTypeDefReader
test case on Linux JDK 1.4.2_10. This workaround can be reverted once JCR-333 has been resolved.

Modified:
    incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/compact/CompactNodeTypeDefReader.java

Modified: incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/compact/CompactNodeTypeDefReader.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/compact/CompactNodeTypeDefReader.java?rev=383708&r1=383707&r2=383708&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/compact/CompactNodeTypeDefReader.java
(original)
+++ incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/compact/CompactNodeTypeDefReader.java
Mon Mar  6 15:37:42 2006
@@ -40,7 +40,6 @@
 import java.util.ArrayList;
 import java.util.LinkedList;
 import java.util.List;
-import java.util.HashSet;
 
 /**
  * CompactNodeTypeDefReader. Parses node type definitions written in the compact
@@ -270,7 +269,7 @@
      * @throws ParseException
      */
     private void doSuperTypes(NodeTypeDef ntd) throws ParseException {
-        HashSet supertypes = new HashSet();
+        ArrayList supertypes = new ArrayList();
         if (!currentTokenEquals(Lexer.EXTENDS)) {
             return;
         }



Mime
View raw message