commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r629710 - /commons/proper/cli/trunk/src/java/org/apache/commons/cli2/builder/PatternBuilder.java
Date Thu, 21 Feb 2008 08:03:25 GMT
Author: bayard
Date: Thu Feb 21 00:03:23 2008
New Revision: 629710

URL: http://svn.apache.org/viewvc?rev=629710&view=rev
Log:
Applying Oliver Heger's patch for CLI-121, changing a HashSet to a LinkedHashSet so we pass
tests on JDK 1.6. This moves us to a JDK 1.4+ dependency, but I don't think that's an issue.


Modified:
    commons/proper/cli/trunk/src/java/org/apache/commons/cli2/builder/PatternBuilder.java

Modified: commons/proper/cli/trunk/src/java/org/apache/commons/cli2/builder/PatternBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/java/org/apache/commons/cli2/builder/PatternBuilder.java?rev=629710&r1=629709&r2=629710&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/java/org/apache/commons/cli2/builder/PatternBuilder.java
(original)
+++ commons/proper/cli/trunk/src/java/org/apache/commons/cli2/builder/PatternBuilder.java
Thu Feb 21 00:03:23 2008
@@ -16,8 +16,8 @@
  */
 package org.apache.commons.cli2.builder;
 
-import java.util.HashSet;
 import java.util.Iterator;
+import java.util.LinkedHashSet;
 import java.util.Set;
 
 import org.apache.commons.cli2.Argument;
@@ -64,7 +64,7 @@
         this.abuilder = abuilder;
     }
 
-    private final Set options = new HashSet();
+    private final Set options = new LinkedHashSet();
 
     /**
      * Creates a new Option instance.



Mime
View raw message