cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r290264 - in /cocoon/branches/BRANCH_2_1_X: src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java status.xml
Date Mon, 19 Sep 2005 21:02:59 GMT
Author: joerg
Date: Mon Sep 19 14:02:50 2005
New Revision: 290264

URL: http://svn.apache.org/viewcvs?rev=290264&view=rev
Log:
fixing bug 35162:
XSP: EclipseJavaCompiler chokes on warnings. Changed to errors.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java
    cocoon/branches/BRANCH_2_1_X/status.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java?rev=290264&r1=290263&r2=290264&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/programming/java/EclipseJavaCompiler.java
Mon Sep 19 14:02:50 2005
@@ -362,12 +362,12 @@
         final ICompilerRequestor requestor = new ICompilerRequestor() {
                 public void acceptResult(CompilationResult result) {
                     try {
-                        if (result.hasProblems()) {
-                            IProblem[] problems = result.getProblems();
-                            for (int i = 0; i < problems.length; i++) {
-                                IProblem problem = problems[i];
-                                String name = new String(problems[i].getOriginatingFileName());
-                                handleError(name, problem.getSourceLineNumber(), -1, problem.getMessage());
+                        if (result.hasErrors()) {
+                            IProblem[] errors = result.getErrors();
+                            for (int i = 0; i < errors.length; i++) {
+                                IProblem error = errors[i];
+                                String name = new String(errors[i].getOriginatingFileName());
+                                handleError(name, error.getSourceLineNumber(), -1, error.getMessage());
                             }
                         } else {
                             ClassFile[] classFiles = result.getClassFiles();

Modified: cocoon/branches/BRANCH_2_1_X/status.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/status.xml?rev=290264&r1=290263&r2=290264&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml Mon Sep 19 14:02:50 2005
@@ -197,6 +197,9 @@
 
   <changes>
   <release version="@version@" date="@date@">
+    <action dev="JH" type="fix" fixes-bug="35162" due-to="Jochen Kuhnle" due-to-email="werbung@kuhnle.net">
+      XSP: EclipseJavaCompiler chokes on warnings. Changed to errors.
+    </action>
     <action dev="JH" type="fix" fixes-bug="33318" due-to="Dan Durkin" due-to-email="ddurkin@scilearn.com">
       CForms: Fixed JavaScript error in forms-lib.js when using keyword <code>undefined</code>
and Mac IE 5.0.
     </action>



Mime
View raw message