tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Generator.java
Date Mon, 05 Apr 2004 16:07:41 GMT
luehe       2004/04/05 09:07:41

  Modified:    jasper2/src/share/org/apache/jasper/compiler Generator.java
  Log:
  Moved initialization of 'varName' to where it is needed
  
  Revision  Changes    Path
  1.231     +1 -1      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
  retrieving revision 1.230
  retrieving revision 1.231
  diff -u -r1.230 -r1.231
  --- Generator.java	27 Mar 2004 00:52:55 -0000	1.230
  +++ Generator.java	5 Apr 2004 16:07:41 -0000	1.231
  @@ -2529,11 +2529,11 @@
                   for (int i = 0; i < varInfos.length; i++) {
                       if (varInfos[i].getScope() != scope)
                           continue;
  -                    String varName = varInfos[i].getVarName();
                       // If the scripting variable has been declared, skip codes
                       // for saving and restoring it.
                       if (n.getScriptingVars(scope).contains(varInfos[i]))
                           continue;
  +                    String varName = varInfos[i].getVarName();
                       String tmpVarName =
                           "_jspx_" + varName + "_" + n.getCustomNestingLevel();
                       out.printin(varName);
  
  
  

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


Mime
View raw message