Skip to content

Commit

Permalink
Issue checkstyle#13213: Remove '//ok' comments from Input files(javaa…
Browse files Browse the repository at this point in the history
…stvisitor)
  • Loading branch information
vishakha-mali authored and romani committed Feb 16, 2025
1 parent 97e963c commit 3e30552
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions config/checkstyle-input-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1227,8 +1227,6 @@
files="filters[\\/]suppressionxpathsinglefilter[\\/]InputSuppressionXpathSingleFilterNullViolation.java"/>
<suppress id="UnnecessaryOkComment"
files="filters[\\/]suppresswithnearbycommentfilter[\\/]InputSuppressWithNearbyCommentFilterByCheckAndInfluence.java"/>
<suppress id="UnnecessaryOkComment"
files="javaastvisitor[\\/]InputJavaAstVisitorNoStackOverflowOnDeepStringConcat.java"/>
<suppress id="UnnecessaryOkComment"
files="utils[\\/]annotationutil[\\/]InputAnnotationUtil2.java"/>
<suppress id="UnnecessaryOkComment"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ public class InputJavaAstVisitorNoStackOverflowOnDeepStringConcat {
"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+
"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+"a"+

"b"; // ok
"b";
}

0 comments on commit 3e30552

Please sign in to comment.