relayrides/pushy — pull request #34 by robertclancy (2014-01-03 14:49:12+00:00)
Title: Broaden generic param of rejectedNotificationListener

This broadens the types of accepted RejectedNotificationListener in registerRejectedNotificationListener. This means that a single RejectedNotificationListener could be used with e.g. PushManager and PushManager where T1, T2 extend ApnsPushNotification.

The cast static method could be put into a RejectedNotificationListeners class.

https://github.com/relayrides/pushy/issues/33