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 Collector.java PageInfo.java
Date Fri, 01 Aug 2003 17:10:11 GMT
luehe       2003/08/01 10:10:11

  Modified:    jasper2/src/share/org/apache/jasper/compiler Collector.java
                        PageInfo.java
  Log:
  Removed unused methods and instance vars
  
  Revision  Changes    Path
  1.13      +2 -9      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Collector.java
  
  Index: Collector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Collector.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Collector.java	15 May 2003 18:45:40 -0000	1.12
  +++ Collector.java	1 Aug 2003 17:10:10 -0000	1.13
  @@ -88,7 +88,6 @@
   	private boolean paramActionSeen = false;
   	private boolean setPropertySeen = false;
   	private boolean hasScriptingVars = false;
  -	private boolean tagFileSeen = false;
   
   	public void visit(Node.ParamAction n) throws JasperException {
   	    if (n.getValue().isExpression()) {
  @@ -139,11 +138,6 @@
   
           public void visit(Node.CustomTag n) throws JasperException {
   
  -	    // Remember if the tag handler is a tag file
  -	    if (n.getTagFileInfo() != null) {
  -		tagFileSeen = true;
  -	    }
  -
               curTagNesting++;
               if (curTagNesting > maxTagNesting) {
                   maxTagNesting = curTagNesting;
  @@ -250,7 +244,6 @@
           public void updatePageInfo(PageInfo pageInfo) {
               pageInfo.setMaxTagNesting(maxTagNesting);
   	    pageInfo.setScriptless(! scriptingElementSeen);
  -	    pageInfo.setHasTagFile(tagFileSeen);
           }
       }
   
  
  
  
  1.35      +3 -14     jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageInfo.java
  
  Index: PageInfo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageInfo.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- PageInfo.java	28 Jul 2003 18:47:30 -0000	1.34
  +++ PageInfo.java	1 Aug 2003 17:10:10 -0000	1.35
  @@ -107,9 +107,6 @@
       private boolean elIgnoredSpecified = false;
       private String omitXmlDecl = null;
   
  -    // A custom tag is a tag file
  -    private boolean hasTagFile = false;
  -
       private boolean isJspPrefixHijacked;
   
       // Set of all element and attribute prefixes used in this translation unit
  @@ -221,14 +218,6 @@
   
       public void setIncludeCoda(Vector coda) {
   	includeCoda = coda;
  -    }
  -
  -    public void setHasTagFile(boolean hasTag) {
  -	hasTagFile = hasTag;
  -    }
  -
  -    public boolean hasTagFile() {
  -	return hasTagFile;
       }
   
       public void setHasJspRoot(boolean s) {
  
  
  

Mime
View raw message