From fd39ce04c3a41031b8049515ea87cffafb4e7d9e Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 27 Nov 2008 00:08:32 +0000 Subject: [PATCH] Generics fixes require change in code generated for JSPs git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@721041 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/jasper/compiler/Generator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/org/apache/jasper/compiler/Generator.java b/java/org/apache/jasper/compiler/Generator.java index 20b14817f..483feeb44 100644 --- a/java/org/apache/jasper/compiler/Generator.java +++ b/java/org/apache/jasper/compiler/Generator.java @@ -485,14 +485,14 @@ class Generator { out.println(); // Static data for getDependants() - out.printil("private static java.util.List _jspx_dependants;"); + out.printil("private static java.util.List _jspx_dependants;"); out.println(); List dependants = pageInfo.getDependants(); Iterator iter = dependants.iterator(); if (!dependants.isEmpty()) { out.printil("static {"); out.pushIndent(); - out.printin("_jspx_dependants = new java.util.ArrayList("); + out.printin("_jspx_dependants = new java.util.ArrayList("); out.print("" + dependants.size()); out.println(");"); while (iter.hasNext()) { @@ -537,7 +537,7 @@ class Generator { */ private void genPreambleMethods() throws JasperException { // Method used to get compile time file dependencies - out.printil("public Object getDependants() {"); + out.printil("public java.util.List getDependants() {"); out.pushIndent(); out.printil("return _jspx_dependants;"); out.popIndent(); -- 2.11.0