Add xsbti.Reporter to required inputs instead of maxErrors.

This commit is contained in:
Eugene Vigdorchik 2012-07-11 12:15:04 +04:00 committed by Mark Harrah
parent 550599bea0
commit d0c1b536e8
3 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,6 @@ import xsbti.Logger;
public interface JavaCompiler
{
/** Compiles Java sources using the provided classpath, output directory, and additional options.
* If supported, the number of reported errors should be limited to `maximumErrors`.
* Output should be sent to the provided logger.*/
void compile(File[] sources, File[] classpath, Output output, String[] options, int maximumErrors, Logger log);
void compile(File[] sources, File[] classpath, Output output, String[] options, Logger log);
}

View File

@ -22,9 +22,6 @@ public interface Options
/** The options to pass to the Java compiler other than the sources and classpath to use. */
String[] javacOptions();
/** The maximum number of errors that the Scala compiler should report.*/
int maxErrors();
/** Controls the order in which Java and Scala sources are compiled.*/
CompileOrder order();
}

View File

@ -2,6 +2,7 @@ package xsbti.compile;
import java.io.File;
import xsbti.Maybe;
import xsbti.Reporter;
/** Configures incremental recompilation. */
public interface Setup<Analysis>
@ -26,4 +27,7 @@ public interface Setup<Analysis>
/** If returned, the progress that should be used to report scala compilation to. */
Maybe<CompileProgress> progress();
/** The reporter that should be used to report scala compilation to. */
Reporter reporter();
}