mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 19:10:38 +00:00
Use var instead of explicit types
This commit is contained in:
parent
03c30519b1
commit
de273586b4
77 changed files with 850 additions and 1017 deletions
|
@ -21,8 +21,8 @@ public class VerifyCommand implements RegistrationCommand {
|
|||
@Override
|
||||
public int handleCommand(final Namespace ns, final RegistrationManager m) {
|
||||
try {
|
||||
String verificationCode = ns.getString("verificationCode");
|
||||
String pin = ns.getString("pin");
|
||||
var verificationCode = ns.getString("verificationCode");
|
||||
var pin = ns.getString("pin");
|
||||
m.verifyAccount(verificationCode, pin);
|
||||
return 0;
|
||||
} catch (LockedException e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue