remm        2002/05/31 14:11:02

  Modified:    jasper2/src/share/org/apache/jasper JspEngineContext.java
  Log:
  - Remove dead code.
  
  Revision  Changes    Path
  1.10      +4 -35     
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspEngineContext.java
  
  Index: JspEngineContext.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspEngineContext.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- JspEngineContext.java     31 May 2002 02:53:52 -0000      1.9
  +++ JspEngineContext.java     31 May 2002 21:11:02 -0000      1.10
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspEngineContext.java,v
 1.9 2002/05/31 02:53:52 remm Exp $
  - * $Revision: 1.9 $
  - * $Date: 2002/05/31 02:53:52 $
  + * $Header: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspEngineContext.java,v
 1.10 2002/05/31 21:11:02 remm Exp $
  + * $Revision: 1.10 $
  + * $Date: 2002/05/31 21:11:02 $
    *
    * ====================================================================
    * 
  @@ -374,46 +374,15 @@
           this.isErrPage = isErrPage;
       }
   
  -    /**
  -     * Create a "Compiler" object based on some init param data. If  
  -     * jspCompilerPlugin is not specified or is not available, the 
  -     * SunJavaCompiler is used.
  -     */
       public Compiler createCompiler() throws JasperException {
   
           if (jspCompiler != null ) {
               return jspCompiler;
           }
   
  -        /*
  -     String compilerPath = options.getJspCompilerPath();
  -     Class jspCompilerPlugin = options.getJspCompilerPlugin();
  -        JavaCompiler javac;
  -
  -     if (jspCompilerPlugin != null) {
  -            try {
  -                javac = (JavaCompiler) jspCompilerPlugin.newInstance();
  -            } catch (Exception ex) {
  -             Constants.message("jsp.warning.compiler.class.cantcreate",
  -                               new Object[] { jspCompilerPlugin, ex }, 
  -                               Logger.FATAL);
  -                javac = new SunJavaCompiler();
  -         }
  -     } else {
  -            javac = new SunJavaCompiler();
  -     }
  -
  -        if (compilerPath != null) {
  -            javac.setCompilerPath(compilerPath);
  -        }
  -
  -        jspCompiler = new JspCompiler(this,jsw);
  -     jspCompiler.setJavaCompiler(javac);
  -        */
  -
           jspCompiler = new Compiler(this, jsw);
  -
           return jspCompiler;
  +
       }
   
       public void compile() throws JasperException, FileNotFoundException {
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to