Author: violetagg
Date: Thu Jan 22 12:02:07 2015
New Revision: 1653819

URL: http://svn.apache.org/r1653819
Log:
When generating a list of package and class imports, the processing of classes 
was omitted. Issue is reported by Coverity Scan.

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=1653819&r1=1653818&r2=1653819&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/Generator.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Generator.java Thu Jan 22 
12:02:07 2015
@@ -586,7 +586,7 @@ class Generator {
                 out.println("\");");
             }
         }
-        if (packages.size() == 0) {
+        if (classes.size() == 0) {
             out.printin("_jspx_imports_classes = null;");
             out.println();
         } else {



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

Reply via email to