impossible condition. always non-null.

This commit is contained in:
gubatron 2016-01-14 17:27:58 -05:00
parent ea1d75cc45
commit c2b691dd57

View file

@ -151,7 +151,7 @@ class ArbitratorRegistrationViewModel extends ActivatableViewModel {
registrationKey.getPubKey(), registrationKey.getPubKey(),
registrationSignature registrationSignature
); );
if (arbitrator != null) {
arbitratorManager.addArbitrator(arbitrator, arbitratorManager.addArbitrator(arbitrator,
() -> { () -> {
updateDisableStates(); updateDisableStates();
@ -163,7 +163,6 @@ class ArbitratorRegistrationViewModel extends ActivatableViewModel {
}); });
} }
} }
}
void onRevoke(ResultHandler resultHandler, ErrorMessageHandler errorMessageHandler) { void onRevoke(ResultHandler resultHandler, ErrorMessageHandler errorMessageHandler) {