commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r331845 - /jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/problems/CompilationProblemTestCase.java
Date Tue, 08 Nov 2005 17:00:49 GMT
Author: tcurdt
Date: Tue Nov  8 09:00:25 2005
New Revision: 331845

URL: http://svn.apache.org/viewcvs?rev=331845&view=rev
Log:
pass in a configuration (thanks to Mark Proctor)

Modified:
    jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/problems/CompilationProblemTestCase.java

Modified: jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/problems/CompilationProblemTestCase.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/problems/CompilationProblemTestCase.java?rev=331845&r1=331844&r2=331845&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/problems/CompilationProblemTestCase.java
(original)
+++ jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/problems/CompilationProblemTestCase.java
Tue Nov  8 09:00:25 2005
@@ -4,6 +4,7 @@
 import org.apache.commons.jci.compilers.eclipse.EclipseCompilationProblem;
 import org.apache.commons.jci.compilers.groovy.GroovyCompilationProblem;
 import org.apache.commons.jci.compilers.janino.JaninoCompilationProblem;
+import org.codehaus.groovy.control.CompilerConfiguration;
 import org.codehaus.groovy.control.SourceUnit;
 import org.codehaus.groovy.control.messages.Message;
 import org.codehaus.groovy.control.messages.SyntaxErrorMessage;
@@ -104,7 +105,7 @@
         if (pError) {
             message =
                 new SyntaxErrorMessage(new SyntaxException(MESSAGE, LINE, COLUMN),
-                                       new SourceUnit(FILENAME, "", null, null, null));
+                                       new SourceUnit(FILENAME, "", new CompilerConfiguration()
, null, null));
         } else {
             message =
                 new WarningMessage(WarningMessage.NONE, MESSAGE, null, null);



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message