struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r680692 - /struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java
Date Tue, 29 Jul 2008 13:34:59 GMT
Author: mrdon
Date: Tue Jul 29 06:34:58 2008
New Revision: 680692

URL: http://svn.apache.org/viewvc?rev=680692&view=rev
Log:
Fixing invalid TLD due to display-name position
WW-2740

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

Modified: struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java
URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java?rev=680692&r1=680691&r2=680692&view=diff
==============================================================================
--- struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java
(original)
+++ struts/maven/trunk/struts-annotations/src/main/java/org/apache/struts/annotations/taglib/apt/TagAnnotationProcessor.java
Tue Jul 29 06:34:58 2008
@@ -327,13 +327,13 @@
             // tag lib attributes
             appendTextNode(document, tagLib, "description",
                     getOption("description"), true);
+            appendTextNode(document, tagLib, "display-name",
+                    getOption("displayName"), false);
             appendTextNode(document, tagLib, "tlib-version",
                     getOption("tlibVersion"), false);
             appendTextNode(document, tagLib, "short-name",
                     getOption("shortName"), false);
             appendTextNode(document, tagLib, "uri", getOption("uri"), false);
-            appendTextNode(document, tagLib, "display-name",
-                    getOption("displayName"), false);
 
             // create tags
             for (Map.Entry<String, Tag> entry : tags.entrySet()) {



Mime
View raw message