KCR38: regressions: MoveVariableInsideIf: valid(): use explicit scope

This commit is contained in:
Paul Campbell 2017-05-29 13:35:19 +01:00
parent 710cfd151b
commit b6521b809c

View file

@ -55,7 +55,7 @@ class MoveVariableInsideIf {
*
* @return value
*/
String valid() {
private String valid() {
if (condition) {
String variable = input.substring(1);
return method(variable);