From 201da6f2a2841a06f02624af0729d603899e2d98 Mon Sep 17 00:00:00 2001 From: Sam Lanning Date: Thu, 13 Aug 2015 00:39:08 +0100 Subject: [PATCH] Maintenance: changed upcast to use method type parameter. Closes #3933 // FREEBIE --- .../securesms/dependencies/TextSecureCommunicationModule.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/org/thoughtcrime/securesms/dependencies/TextSecureCommunicationModule.java b/src/org/thoughtcrime/securesms/dependencies/TextSecureCommunicationModule.java index 7845aea745..d5c3b902a9 100644 --- a/src/org/thoughtcrime/securesms/dependencies/TextSecureCommunicationModule.java +++ b/src/org/thoughtcrime/securesms/dependencies/TextSecureCommunicationModule.java @@ -66,8 +66,7 @@ public class TextSecureCommunicationModule { TextSecurePreferences.getLocalNumber(context), TextSecurePreferences.getPushServerPassword(context), new TextSecureAxolotlStore(context), - Optional.of((TextSecureMessageSender.EventListener) - new SecurityEventListener(context))); + Optional.of(new SecurityEventListener(context))); } }; }