Remove var

This commit is contained in:
Andrea Cavalli 2023-11-05 17:51:46 +01:00
parent 7a6b0c6d41
commit 3eab57d29d

View File

@ -92,7 +92,7 @@ public final class SimpleTelegramClient implements Authenticable, MutableTelegra
this.addUpdateHandler(TdApi.UpdateAuthorizationState.class,
new AuthorizationStateWaitAuthenticationDataHandler(client, this, this::handleDefaultException)
);
var updateHandlerInteraction = new SimpleTelegramClientInteraction();
SimpleTelegramClientInteraction updateHandlerInteraction = new SimpleTelegramClientInteraction();
this.addUpdateHandler(TdApi.UpdateAuthorizationState.class, new AuthorizationStateWaitRegistrationHandler(client,
updateHandlerInteraction,
this::handleDefaultException