mixpanel / mixpanel-java

Other
49 stars 37 forks source link

Fix for string equality check in isValidMessage #3

Closed danielwalker closed 11 years ago

danielwalker commented 11 years ago

The ClientDelivery.isValidMessage uses == instead of equals(). This causes messages that are built using new JSONObject(json) to fail.

joeatwork commented 11 years ago

Thank you so much for catching (and even more for fixing!) this! This is a great contribution!

Thanks again! Joe

joeatwork commented 11 years ago

These changes have been included in the 1.1.2 release.