Replace var with String
This commit is contained in:
parent
b9f9c55760
commit
69a0291513
@ -70,7 +70,7 @@ public final class ConsoleInteractiveAuthenticationData implements Authenticatio
|
|||||||
// Choose login type
|
// Choose login type
|
||||||
String mode;
|
String mode;
|
||||||
do {
|
do {
|
||||||
var response = ScannerUtils.askParameter("login",
|
String response = ScannerUtils.askParameter("login",
|
||||||
"Do you want to login using a bot [token], a [phone] number, or a [qr] code? [token/phone/qr]");
|
"Do you want to login using a bot [token], a [phone] number, or a [qr] code? [token/phone/qr]");
|
||||||
if (response != null) {
|
if (response != null) {
|
||||||
choice = response.trim().toLowerCase(Locale.ROOT);
|
choice = response.trim().toLowerCase(Locale.ROOT);
|
||||||
|
Loading…
Reference in New Issue
Block a user