From fb830fc73e3607ae40e89ad69aa00d19de47b868 Mon Sep 17 00:00:00 2001 From: Oliver Burn Date: Wed, 31 Oct 2001 13:32:41 +0000 Subject: [PATCH] fix checkstyle errors --- .../puppycrawl/tools/checkstyle/CheckStyleTask.java | 2 +- .../com/puppycrawl/tools/checkstyle/Checker.java | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTask.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTask.java index c669e3390..346ced17a 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTask.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTask.java @@ -195,7 +195,7 @@ public class CheckStyleTask /** @param aFail whether to fail if a violation is found **/ public void setFailOnViolation(boolean aFail) { - mFailOnViolation = aFail; + mFailOnViolation = aFail; } /** @param aNum **/ diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java index 1f715c698..cf8b1dfcd 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java @@ -198,12 +198,14 @@ class Checker /** * Parses and returns the AST for a file. - * @return the AST + * @param aFileName name of file read * @param aReader the Reader to generate the AST - * @throws FileNotFoundException error occurred - * @throws RecognitionException error occurred - * @throws TokenStreamException error occurred - **/ + * @return the AST + * @exception FileNotFoundException error occurred + * @exception RecognitionException error occurred + * @exception TokenStreamException error occurred + * + */ private AST getAST(String aFileName, Reader aReader) throws FileNotFoundException, RecognitionException, TokenStreamException {