From 55a28392f8b4126a48115b042586c0688eb93d2a Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 May 2017 13:39:04 +0100 Subject: [PATCH] KCR39: regressions: MoveVariableInsideIf: method(): use parameter --- .../kemitix/checkstyle/regressions/MoveVariableInsideIf.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bfdb49d..dd7dda2 100644 --- a/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java +++ b/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java @@ -33,7 +33,7 @@ class MoveVariableInsideIf { private boolean condition; private String method(final String variable) { - return "value"; + return "value: " + variable; } /**