00d / google-voice-java

Automatically exported from code.google.com/p/google-voice-java
0 stars 0 forks source link

Bug with SMSParser #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I noticed that the SMSParser doesn't pick up SMS messages that are in the same 
clock-minute and same thread as another SMS. This is because the compareTo 
method for the SMS class is solely dependent on the message's time-stamp, thus 
messages with the same time-stamp in a thread are considered duplicates when 
added to Collections and are as result not added. A simple fix would be to 
alter the compareTo method in the SMS class to also consider the SMS's content 
and from contact.

I just wanted to point that small bug out. The API has been very helpful, 
thanks.

Original issue reported on code.google.com by chrismeg...@gmail.com on 26 Dec 2010 at 4:19

GoogleCodeExporter commented 9 years ago
Check out the latest commits, these should have an updated compareTo

Original comment by liquid...@gmail.com on 6 Jan 2011 at 2:44