eclipse / paho.mqtt.android

MQTT Android
Other
2.92k stars 883 forks source link

Subscribe should not return null (#262) #383

Open Governa opened 5 years ago

Governa commented 5 years ago

Always returning null breaks the contract set in the function signature and documentation.

This affects all subscribes that receive IMqttMessageListener as parameter.

Please make sure that the following boxes are checked before submitting your Pull Request, thank you!

Governa commented 4 years ago

Is this patch acceptable? Is there anything missing?