diff --git a/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java b/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java index 33dc9bd..bea9d91 100644 --- a/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java +++ b/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java @@ -55,7 +55,7 @@ class MoveVariableInsideIf { * * @return value */ - String valid() { + private String valid() { if (condition) { String variable = input.substring(1); return method(variable);