diff --git a/interface/src/main/java/xsbti/AnalysisCallback.java b/interface/src/main/java/xsbti/AnalysisCallback.java
index 88b190e80..a51628f15 100644
--- a/interface/src/main/java/xsbti/AnalysisCallback.java
+++ b/interface/src/main/java/xsbti/AnalysisCallback.java
@@ -15,35 +15,35 @@ public interface AnalysisCallback
* template accessible outside of the source file.
* @deprecated Use `sourceDependency(File dependsOn, File source, DependencyContext context)` instead. */
@Deprecated
- public void sourceDependency(File dependsOn, File source, boolean publicInherited);
+ void sourceDependency(File dependsOn, File source, boolean publicInherited);
/** Called to indicate that the source file source depends on the source file
* dependsOn. Note that only source files included in the current compilation will
* passed to this method. Dependencies on classes generated by sources not in the current compilation will
* be passed as class dependencies to the classDependency method.
* context gives information about the context in which this dependency has been extracted.
* See xsbti.DependencyContext for the list of existing dependency contexts. */
- public void sourceDependency(File dependsOn, File source, DependencyContext context);
+ void sourceDependency(File dependsOn, File source, DependencyContext context);
/** Called to indicate that the source file source depends on the top-level
* class named name from class or jar file binary.
* If publicInherited is true, this dependency is a result of inheritance by a
* template accessible outside of the source file.
* @deprecated Use `binaryDependency(File binary, String name, File source, DependencyContext context)` instead. */
@Deprecated
- public void binaryDependency(File binary, String name, File source, boolean publicInherited);
+ void binaryDependency(File binary, String name, File source, boolean publicInherited);
/** Called to indicate that the source file source depends on the top-level
* class named name from class or jar file binary.
* context gives information about the context in which this dependency has been extracted.
* See xsbti.DependencyContext for the list of existing dependency contexts. */
- public void binaryDependency(File binary, String name, File source, DependencyContext context);
+ void binaryDependency(File binary, String name, File source, DependencyContext context);
/** Called to indicate that the source file source produces a class file at
* module contain class name.*/
- public void generatedClass(File source, File module, String name);
+ void generatedClass(File source, File module, String name);
/** Called when the public API of a source file is extracted. */
- public void api(File sourceFile, xsbti.api.SourceAPI source);
- public void usedName(File sourceFile, String names);
+ void api(File sourceFile, xsbti.api.SourceAPI source);
+ void usedName(File sourceFile, String names);
/** Provides problems discovered during compilation. These may be reported (logged) or unreported.
* Unreported problems are usually unreported because reporting was not enabled via a command line switch. */
- public void problem(String what, Position pos, String msg, Severity severity, boolean reported);
+ void problem(String what, Position pos, String msg, Severity severity, boolean reported);
/**
* Determines whether method calls through this interface should be interpreted as serving
* name hashing algorithm needs in given compiler run.
@@ -58,5 +58,5 @@ public interface AnalysisCallback
* NOTE: This method is an implementation detail and can be removed at any point without deprecation.
* Do not depend on it, please.
*/
- public boolean nameHashing();
+ boolean nameHashing();
}
\ No newline at end of file
diff --git a/interface/src/main/java/xsbti/F0.java b/interface/src/main/java/xsbti/F0.java
index 90e713b6b..b0091b186 100644
--- a/interface/src/main/java/xsbti/F0.java
+++ b/interface/src/main/java/xsbti/F0.java
@@ -5,5 +5,5 @@ package xsbti;
public interface F0
{
- public T apply();
+ T apply();
}
diff --git a/interface/src/main/java/xsbti/Reporter.java b/interface/src/main/java/xsbti/Reporter.java
index 439e2738f..d76be8ea6 100644
--- a/interface/src/main/java/xsbti/Reporter.java
+++ b/interface/src/main/java/xsbti/Reporter.java
@@ -6,17 +6,17 @@ package xsbti;
public interface Reporter
{
/** Resets logging, including any accumulated errors, warnings, messages, and counts.*/
- public void reset();
+ void reset();
/** Returns true if this logger has seen any errors since the last call to reset.*/
- public boolean hasErrors();
+ boolean hasErrors();
/** Returns true if this logger has seen any warnings since the last call to reset.*/
- public boolean hasWarnings();
+ boolean hasWarnings();
/** Logs a summary of logging since the last reset.*/
- public void printSummary();
+ void printSummary();
/** Returns a list of warnings and errors since the last reset.*/
- public Problem[] problems();
+ Problem[] problems();
/** Logs a message.*/
- public void log(Position pos, String msg, Severity sev);
+ void log(Position pos, String msg, Severity sev);
/** Reports a comment. */
- public void comment(Position pos, String msg);
+ void comment(Position pos, String msg);
}
diff --git a/interface/src/main/java/xsbti/compile/CachedCompiler.java b/interface/src/main/java/xsbti/compile/CachedCompiler.java
index 0722a68b9..1d37f0883 100644
--- a/interface/src/main/java/xsbti/compile/CachedCompiler.java
+++ b/interface/src/main/java/xsbti/compile/CachedCompiler.java
@@ -8,6 +8,6 @@ import java.io.File;
public interface CachedCompiler
{
/** Returns an array of arguments representing the nearest command line equivalent of a call to run but without the command name itself.*/
- public String[] commandArguments(File[] sources);
- public void run(File[] sources, DependencyChanges cpChanges, AnalysisCallback callback, Logger log, Reporter delegate, CompileProgress progress);
+ String[] commandArguments(File[] sources);
+ void run(File[] sources, DependencyChanges cpChanges, AnalysisCallback callback, Logger log, Reporter delegate, CompileProgress progress);
}
diff --git a/interface/src/main/java/xsbti/compile/GlobalsCache.java b/interface/src/main/java/xsbti/compile/GlobalsCache.java
index d9aa1c017..c8540e2d2 100644
--- a/interface/src/main/java/xsbti/compile/GlobalsCache.java
+++ b/interface/src/main/java/xsbti/compile/GlobalsCache.java
@@ -8,6 +8,6 @@ import xsbti.Reporter;
*/
public interface GlobalsCache
{
- public CachedCompiler apply(String[] args, Output output, boolean forceNew, CachedCompilerProvider provider, Logger log, Reporter reporter);
- public void clear();
+ CachedCompiler apply(String[] args, Output output, boolean forceNew, CachedCompilerProvider provider, Logger log, Reporter reporter);
+ void clear();
}