1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-02 08:35:08 -04:00

Merge pull request #103 from andrewgaul/long-npe

Avoid NPE in getOldestMessageDate
This commit is contained in:
Jesse Vincent 2011-11-27 13:38:30 -08:00
commit f7d0f6090b

View File

@ -2812,7 +2812,7 @@ public class LocalStore extends Store implements Serializable {
mLastUid = lastUid;
}
public long getOldestMessageDate() throws MessagingException {
public Long getOldestMessageDate() throws MessagingException {
return database.execute(false, new DbCallback<Long>() {
@Override
public Long doDbWork(final SQLiteDatabase db) {