Author: markt Date: Thu Oct 25 12:14:09 2012 New Revision: 1402122 URL: http://svn.apache.org/viewvc?rev=1402122&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54017 Simplify and reduce GC.
Modified: tomcat/trunk/java/org/apache/jasper/compiler/Generator.java Modified: tomcat/trunk/java/org/apache/jasper/compiler/Generator.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/Generator.java?rev=1402122&r1=1402121&r2=1402122&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/jasper/compiler/Generator.java (original) +++ tomcat/trunk/java/org/apache/jasper/compiler/Generator.java Thu Oct 25 12:14:09 2012 @@ -3174,7 +3174,7 @@ class Generator { } else if (c == Long.class) { return JspUtil.coerceToLong(s, isNamedAttribute); } else if (c == Object.class) { - return "new String(" + quoted + ")"; + return quoted; } else { String className = c.getCanonicalName(); return "(" --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org