diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/HandlerFactory.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/HandlerFactory.java index df140be7c..b0d960c34 100644 --- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/HandlerFactory.java +++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/HandlerFactory.java @@ -162,7 +162,7 @@ public class HandlerFactory { * * @return new instance. */ - AbstractExpressionHandler createMethodCallHandler(IndentationCheck indentCheck, + private AbstractExpressionHandler createMethodCallHandler(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) { AbstractExpressionHandler theParent = parent; DetailAST astNode = ast.getFirstChild(); diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocMethodCheck.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocMethodCheck.java index 8e0bd30ad..a3fc7e20a 100644 --- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocMethodCheck.java +++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocMethodCheck.java @@ -986,7 +986,7 @@ public class JavadocMethodCheck extends AbstractTypeAwareCheck { } /** Mark that the exception has associated throws tag. */ - final void setFound() { + private void setFound() { found = true; } @@ -994,7 +994,7 @@ public class JavadocMethodCheck extends AbstractTypeAwareCheck { * Checks that the exception has throws tag associated with it. * @return whether the exception has throws tag associated with */ - final boolean isFound() { + private boolean isFound() { return found; } @@ -1002,7 +1002,7 @@ public class JavadocMethodCheck extends AbstractTypeAwareCheck { * Gets exception name. * @return exception's name */ - final Token getName() { + private Token getName() { return classInfo.getName(); } @@ -1010,7 +1010,7 @@ public class JavadocMethodCheck extends AbstractTypeAwareCheck { * Gets exception class. * @return class for this exception */ - final Class getClazz() { + private Class getClazz() { return classInfo.getClazz(); } }