From cbb5f228d8070bd9cc8f16638f3abe50a7273905 Mon Sep 17 00:00:00 2001 From: Oliver Burn Date: Wed, 24 Apr 2002 14:33:47 +0000 Subject: [PATCH] Removed unused code. --- .../puppycrawl/tools/checkstyle/Checker.java | 43 ------------------- 1 file changed, 43 deletions(-) diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java index f663e3477..d9b5f41fc 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java @@ -86,49 +86,6 @@ public class Checker } } - /** - * Overrides ANTLR error reporting so we completely control - * checkstyle's output during parsing. - * - * @see SilentJava14Recognizer - */ - private class SilentJavaRecognizer extends GeneratedJavaRecognizer - { - /** - * Creates a new SilentJavaRecognizer instance. - * - * @param aLexer the tokenstream the recognizer operates on. - */ - private SilentJavaRecognizer(GeneratedJavaLexer aLexer) - { - super(aLexer); - } - - /** - * Parser error-reporting function, does nothing. - * @param aRex the exception to be reported - */ - public void reportError(RecognitionException aRex) - { - } - - /** - * Parser error-reporting function, does nothing. - * @param aMsg the error message - */ - public void reportError(String aMsg) - { - } - - /** - * Parser warning-reporting function, does nothing. - * @param aMsg the error message - */ - public void reportWarning(String aMsg) - { - } - } - /** configuration */ private final Configuration mConfig;