Replace var with String

This commit is contained in:
Andrea Cavalli 2023-01-02 01:14:38 +01:00
parent b9f9c55760
commit 69a0291513

View File

@ -70,7 +70,7 @@ public final class ConsoleInteractiveAuthenticationData implements Authenticatio
// Choose login type
String mode;
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]");
if (response != null) {
choice = response.trim().toLowerCase(Locale.ROOT);