struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r493649 - in /struts/maven/trunk/struts-annotations: pom.xml src/main/java/org/apache/struts/annotations/taglib/apt/Tag.java
Date Sun, 07 Jan 2007 05:24:54 GMT
Author: mrdon
Date: Sat Jan  6 21:24:51 2007
New Revision: 493649

URL: http://svn.apache.org/viewvc?view=rev&rev=493649
Log:
Sorted tag attributes by name
WW-1392

Modified:
    struts/maven/trunk/struts-annotations/pom.xml
    struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/Tag.java

Modified: struts/maven/trunk/struts-annotations/pom.xml
URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts-annotations/pom.xml?view=diff&rev=493649&r1=493648&r2=493649
==============================================================================
--- struts/maven/trunk/struts-annotations/pom.xml (original)
+++ struts/maven/trunk/struts-annotations/pom.xml Sat Jan  6 21:24:51 2007
@@ -10,7 +10,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.struts</groupId>
     <artifactId>struts-annotations</artifactId>
-    <version>2.0.2-SNAPSHOT</version>
+    <version>1.0-SNAPSHOT</version>
     <packaging>jar</packaging>
     <name>Struts Annotations</name>
     <url>http://struts.apache.org</url>

Modified: struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/Tag.java
URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/Tag.java?view=diff&rev=493649&r1=493648&r2=493649
==============================================================================
--- struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/Tag.java
(original)
+++ struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/Tag.java
Sat Jan  6 21:24:51 2007
@@ -23,6 +23,7 @@
 import java.util.Collection;
 import java.util.HashMap;
 import java.util.Map;
+import java.util.TreeMap;
 
 public class Tag {
     private String name;
@@ -31,7 +32,7 @@
     private String description;
     private boolean include = true;
     private String declaredType;
-    private Map<String, TagAttribute> attributes = new HashMap<String, TagAttribute>();
+    private Map<String, TagAttribute> attributes = new TreeMap<String, TagAttribute>();
 
     public String getDescription() {
         return description;



Mime
View raw message