tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1374823 - /tomcat/trunk/java/org/apache/catalina/deploy/JspPropertyGroup.java
Date Sun, 19 Aug 2012 19:33:33 GMT
Author: markt
Date: Sun Aug 19 19:33:33 2012
New Revision: 1374823

URL: http://svn.apache.org/viewvc?rev=1374823&view=rev
Log:
Use a LinkedHashSet to preserve ordering

Modified:
    tomcat/trunk/java/org/apache/catalina/deploy/JspPropertyGroup.java

Modified: tomcat/trunk/java/org/apache/catalina/deploy/JspPropertyGroup.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/JspPropertyGroup.java?rev=1374823&r1=1374822&r2=1374823&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/JspPropertyGroup.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/JspPropertyGroup.java Sun Aug 19 19:33:33
2012
@@ -16,7 +16,6 @@
  */
 package org.apache.catalina.deploy;
 
-import java.util.HashSet;
 import java.util.LinkedHashSet;
 import java.util.Set;
 
@@ -72,7 +71,7 @@ public class JspPropertyGroup {
     }
     public Boolean getTrimWhitespace() { return trimWhitespace; }
 
-    private Set<String> urlPattern = new HashSet<>();
+    private LinkedHashSet<String> urlPattern = new LinkedHashSet<>();
     public void addUrlPattern(String urlPattern) {
         this.urlPattern.add(urlPattern);
     }
@@ -99,5 +98,4 @@ public class JspPropertyGroup {
     public Boolean getErrorOnUndeclaredNamespace() {
         return this.errorOnUndeclaredNamespace;
     }
-
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message