Skip to content

Commit 045066c

Browse files
committed
cleanup
1 parent 783075e commit 045066c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

checkstyle.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@
631631
"checkstyle/checks/metrics/CyclomaticComplexityCheck",
632632
"checkstyle/checks/block/LeftCurlyCheck",
633633
"checkstyle/checks/block/RightCurlyCheck",
634+
"checkstyle/checks/coding/CodeSimilarityCheck",
634635
"checkstyle/checks/naming/MethodNameCheck",
635636
"checkstyle/checks/type/ReturnCheck",
636637
"checkstyle/checks/whitespace/OperatorWrapCheck",

src/checkstyle/checks/coding/CodeSimilarityCheck.hx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,7 @@ class CodeSimilarityCheck extends Check {
206206
case Const(CFloat(_)):
207207
return "const_float";
208208
case Const(CString(s)):
209-
if (StringUtils.isStringInterpolation(s, checker.file.content, token.pos)) {
210-
return "const_string_interpol";
211-
}
209+
if (StringUtils.isStringInterpolation(s, checker.file.content, token.pos)) return "const_string_interpol";
212210
return "const_string";
213211
case Const(CIdent(_)):
214212
return "identifier";

0 commit comments

Comments
 (0)