Refactoring: common logic extracted and moved to a util class

This commit is contained in:
Andrey Breslav
2013-10-09 20:56:21 +04:00
parent d4a89d04d7
commit 9e0e67d19d
6 changed files with 86 additions and 63 deletions
@@ -20,6 +20,15 @@ import org.jetbrains.annotations.NotNull;
public interface MessageCollector {
MessageCollector NONE = new MessageCollector() {
@Override
public void report(
@NotNull CompilerMessageSeverity severity, @NotNull String message, @NotNull CompilerMessageLocation location
) {
// Do nothing
}
};
void report(@NotNull CompilerMessageSeverity severity, @NotNull String message, @NotNull CompilerMessageLocation location);
}