tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r492596 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java
Date Thu, 04 Jan 2007 15:19:13 GMT
Author: remm
Date: Thu Jan  4 07:19:12 2007
New Revision: 492596

URL: http://svn.apache.org/viewvc?view=rev&rev=492596
Log:
- Cleanup.

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java?view=diff&rev=492596&r1=492595&r2=492596
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java Thu Jan  4 07:19:12
2007
@@ -2774,7 +2774,6 @@
                 StringBuffer sb = new StringBuffer(64);
 
                 TagAttributeInfo tai = attr.getTagAttributeInfo();
-                String returnType = JspUtil.toJavaSourceTypeFromTld(attr.getExpectedTypeName());
 
                 // generate elContext reference
                 sb.append(getJspContextVar());
@@ -2817,7 +2816,7 @@
                     }
                     sb.append(quote(attrValue));
                     sb.append(',');
-                    sb.append(returnType);
+                    sb.append(JspUtil.toJavaSourceTypeFromTld(attr.getExpectedTypeName()));
                     sb.append("))");
                     // should the expression be evaluated before passing to
                     // the setter?
@@ -2849,7 +2848,7 @@
                     sb.append(',');
                     sb.append(quote(attrValue));
                     sb.append(',');
-                    sb.append(returnType);
+                    sb.append(JspUtil.toJavaSourceTypeFromTld(attr.getExpectedTypeName()));
                     sb.append(',');
                     sb.append("new Class[] {");
 



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


Mime
View raw message