ARTEMIS-4079 quick semantic fix
This commit is contained in:
parent
d7e02ca9fb
commit
38fc74749b
|
@ -226,14 +226,16 @@ public class ConnectionAbstract extends InputAbstract {
|
||||||
private String inputUser(String user) {
|
private String inputUser(String user) {
|
||||||
if (user == null) {
|
if (user == null) {
|
||||||
this.user = input("--user", "Type the username for a retry", null);
|
this.user = input("--user", "Type the username for a retry", null);
|
||||||
|
return this.user;
|
||||||
}
|
}
|
||||||
return this.user;
|
return user;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String inputPassword(String password) {
|
private String inputPassword(String password) {
|
||||||
if (password == null) {
|
if (password == null) {
|
||||||
this.password = inputPassword("--password", "Type the password for a retry", null);
|
this.password = inputPassword("--password", "Type the password for a retry", null);
|
||||||
|
return this.password;
|
||||||
}
|
}
|
||||||
return this.password;
|
return password;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue