diff --git a/interface/src/main/java/xsbti/compile/JavaCompiler.java b/interface/src/main/java/xsbti/compile/JavaCompiler.java index c9947c700..ff6b83cc3 100644 --- a/interface/src/main/java/xsbti/compile/JavaCompiler.java +++ b/interface/src/main/java/xsbti/compile/JavaCompiler.java @@ -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); } diff --git a/interface/src/main/java/xsbti/compile/Options.java b/interface/src/main/java/xsbti/compile/Options.java index 877ff5ebf..78643202d 100644 --- a/interface/src/main/java/xsbti/compile/Options.java +++ b/interface/src/main/java/xsbti/compile/Options.java @@ -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(); } diff --git a/interface/src/main/java/xsbti/compile/Setup.java b/interface/src/main/java/xsbti/compile/Setup.java index 1efc08782..050e20c2f 100644 --- a/interface/src/main/java/xsbti/compile/Setup.java +++ b/interface/src/main/java/xsbti/compile/Setup.java @@ -2,6 +2,7 @@ package xsbti.compile; import java.io.File; import xsbti.Maybe; +import xsbti.Reporter; /** Configures incremental recompilation. */ public interface Setup @@ -26,4 +27,7 @@ public interface Setup /** If returned, the progress that should be used to report scala compilation to. */ Maybe progress(); + + /** The reporter that should be used to report scala compilation to. */ + Reporter reporter(); }