Skip to content

Commit

Permalink
ARTEMIS-4079 quick semantic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jbertram committed Nov 1, 2022
1 parent d7e02ca commit 38fc747
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,16 @@ private String inputBrokerURL(String defaultValue) {
private String inputUser(String user) {
if (user == 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) {
if (password == null) {
this.password = inputPassword("--password", "Type the password for a retry", null);
return this.password;
}
return this.password;
return password;
}
}

0 comments on commit 38fc747

Please sign in to comment.