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 {