KCR38: regressions: MoveVariableInsideIf: valid(): use explicit scope
This commit is contained in:
parent
710cfd151b
commit
b6521b809c
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class MoveVariableInsideIf {
|
||||||
*
|
*
|
||||||
* @return value
|
* @return value
|
||||||
*/
|
*/
|
||||||
String valid() {
|
private String valid() {
|
||||||
if (condition) {
|
if (condition) {
|
||||||
String variable = input.substring(1);
|
String variable = input.substring(1);
|
||||||
return method(variable);
|
return method(variable);
|
||||||
|
|
Loading…
Reference in a new issue