Closed flofreud closed 11 years ago
To increase usability and testability the Javabite group propose to change the interface of the ReportLog.
Interface would look like:
interface ReportLog { public void reportWarning(ErrorType type, List<Token> tokens, String message); public void reportError(ErrorType type, List<Token> tokens, String message); } enum ErrorType { DIVISION_BY_ZERO, DOUBLE_DECLARATION, ... UNKNOWN; }
Attention: This changes will break the build if the submodule is updated and the usages not. Javabite group is already updated.
To increase usability and testability the Javabite group propose to change the interface of the ReportLog.
Interface would look like: