larryi 01/06/21 15:33:57
Modified: jasper34/generator/org/apache/jasper34/core Constants.java
Log:
Cleaned up default imports.
Note: For the time being, you will need the tomcat_32 branch of
jakarta-watchdog testing. The head of jakarta-watchdog hasn't been
updated to avoid a dependency on "javax.servlet.jsp.tagext.*"
Revision Changes Path
1.7 +1 -15
jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/Constants.java
Index: Constants.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/core/Constants.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Constants.java 2001/06/17 20:22:27 1.6
+++ Constants.java 2001/06/21 22:33:56 1.7
@@ -98,26 +98,12 @@
/**
* These classes/packages are automatically imported by the
* generated code.
- *
- * FIXME: Need to trim this to what is there in PR2 and verify
- * with all our generators -akv.
*/
public static final String[] STANDARD_IMPORTS = {
"javax.servlet.*",
"javax.servlet.http.*",
- "javax.servlet.jsp.*",
- // This one is not in spec, but a lot of tests depend on it.
- // The code is fixed to use explicit deps, when we test
- // the watchdog tests we can remove this
- "javax.servlet.jsp.tagext.*"
+ "javax.servlet.jsp.*"
};
-
-// "javax.servlet.jsp.tagext.*",
-// "java.io.PrintWriter", "java.io.IOException", "java.io.FileInputStream",
-// "java.io.ObjectInputStream", "java.util.Vector",
-// "org.apache.jasper.runtime.*", "java.beans.*",
-// "org.apache.jasper.JasperException"
-// };
/**
* ServletContext attribute for classpath. This is tomcat specific.