cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java EclipseJavaCompiler.java
Date Sun, 11 Jul 2004 23:45:50 GMT
antonio     2004/07/11 16:45:50

  Modified:    src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java
                        EclipseJavaCompiler.java
  Log:
  Update jdt-core to 3.0.0
  
  Revision  Changes    Path
  1.3       +4 -4      cocoon-2.1/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java
  
  Index: EclipseJavaCompiler.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EclipseJavaCompiler.java	11 Jul 2004 21:08:53 -0000	1.2
  +++ EclipseJavaCompiler.java	11 Jul 2004 23:45:50 -0000	1.3
  @@ -186,8 +186,7 @@
                           buf.getChars(0, result.length, result, 0);
                       }
                   } catch (IOException e) {
  -                    handleError(className, -1, -1, 
  -                                e.getMessage());
  +                    handleError(className, -1, -1, e.getMessage());
                       //e.printStackTrace();
                   }
                   return result;
  @@ -322,10 +321,11 @@
   
               };
           final IErrorHandlingPolicy policy = DefaultErrorHandlingPolicies.proceedWithAllProblems();
  -        final Map settings = new HashMap();
  +        final Map settings = new HashMap(8);
           settings.put(CompilerOptions.OPTION_LineNumberAttribute, CompilerOptions.GENERATE);
           settings.put(CompilerOptions.OPTION_SourceFileAttribute, CompilerOptions.GENERATE);
           settings.put(CompilerOptions.OPTION_ReportDeprecation, CompilerOptions.IGNORE);
  +        settings.put(CompilerOptions.OPTION_ReportUnusedImport, CompilerOptions.IGNORE);
           if (sourceEncoding != null) {
               settings.put(CompilerOptions.OPTION_Encoding, sourceEncoding);
           }
  
  
  

Mime
View raw message