ARTEMIS-4079 quick semantic fix

This commit is contained in:
Justin Bertram 2022-11-01 10:22:55 -05:00
parent d7e02ca9fb
commit 38fc74749b
No known key found for this signature in database
GPG Key ID: F41830B875BB8633
1 changed files with 4 additions and 2 deletions

View File

@ -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;
} }
} }