ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/framework/src/todo/org/apache/tools/todo/taskdefs/jsp JspC.java
Date Fri, 05 Jul 2002 03:38:06 GMT
donaldp     2002/07/04 20:38:06

  Modified:    framework/src/todo/org/apache/tools/todo/taskdefs/jsp
                        JspC.java
  Log:
  Remove redundent cast
  
  Revision  Changes    Path
  1.4       +2 -20     jakarta-ant-myrmidon/framework/src/todo/org/apache/tools/todo/taskdefs/jsp/JspC.java
  
  Index: JspC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/framework/src/todo/org/apache/tools/todo/taskdefs/jsp/JspC.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JspC.java	5 Jul 2002 03:22:01 -0000	1.3
  +++ JspC.java	5 Jul 2002 03:38:06 -0000	1.4
  @@ -76,12 +76,6 @@
       private String packageName;
       private Path src;
   
  -    /**
  -     * -uribase <dir>The uri directory compilations should be relative to
  -     * (Default is "/")
  -     */
  -
  -    private File uribase;
   
       /**
        * -uriroot <dir>The root directory that uri files should be resolved
  @@ -190,18 +184,6 @@
       }
   
       /**
  -     * -uribase. the uri context of relative URI references in the JSP pages. If
  -     * it does not exist then it is derived from the location of the file
  -     * relative to the declared or derived value of -uriroot.
  -     *
  -     * @param uribase The new Uribase value
  -     */
  -    public void setUribase( File uribase )
  -    {
  -        this.uribase = uribase;
  -    }
  -
  -    /**
        * -uriroot <dir>The root directory that uri files should be resolved
        * against, (Default is the directory jspc is invoked from)
        *
  @@ -356,7 +338,7 @@
           for( int i = 0; i < list.length; i++ )
           {
               final String filename = list[ i ];
  -            File srcDir = (File)getContext().resolveFile( filename );
  +            File srcDir = getContext().resolveFile( filename );
               if( !srcDir.exists() )
               {
                   throw new TaskException( "srcdir \"" + srcDir.getPath() +
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message