Maintenance: changed upcast to use method type parameter.

Closes #3933
// FREEBIE
pull/1/head
Sam Lanning 10 years ago committed by Moxie Marlinspike
parent 99adbe5784
commit 201da6f2a2

@ -66,8 +66,7 @@ public class TextSecureCommunicationModule {
TextSecurePreferences.getLocalNumber(context),
TextSecurePreferences.getPushServerPassword(context),
new TextSecureAxolotlStore(context),
Optional.of((TextSecureMessageSender.EventListener)
new SecurityEventListener(context)));
Optional.<TextSecureMessageSender.EventListener>of(new SecurityEventListener(context)));
}
};
}

Loading…
Cancel
Save