diff --git a/pom.xml b/pom.xml index 82de6bd7e..6f1c5298b 100644 --- a/pom.xml +++ b/pom.xml @@ -1165,7 +1165,6 @@ .*.checks.indentation.NewHandler8377 .*.checks.indentation.ObjectBlockHandler75100 .*.checks.indentation.PackageDefHandler5085 - .*.checks.indentation.SlistHandler10094 .*.checks.indentation.SynchronizedHandler100100 .*.checks.javadoc.AbstractJavadocCheck9093 diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/SlistHandler.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/SlistHandler.java index e96aef4e9..605e9b539 100644 --- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/SlistHandler.java +++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/SlistHandler.java @@ -62,15 +62,6 @@ public class SlistHandler extends BlockParentHandler { return super.suggestedChildLevel(child); } - @Override - protected DetailAST getNonlistChild() { - // blocks always have either block children or they are transparent - // and aren't checking children at all. In the later case, the - // superclass will want to check single children, so when it - // does tell it we have none. - return null; - } - @Override protected DetailAST getListChild() { return getMainAst();