mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-25 15:11:52 -05:00
Merge pull request #103 from andrewgaul/long-npe
Avoid NPE in getOldestMessageDate
This commit is contained in:
commit
f7d0f6090b
@ -2812,7 +2812,7 @@ public class LocalStore extends Store implements Serializable {
|
|||||||
mLastUid = lastUid;
|
mLastUid = lastUid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getOldestMessageDate() throws MessagingException {
|
public Long getOldestMessageDate() throws MessagingException {
|
||||||
return database.execute(false, new DbCallback<Long>() {
|
return database.execute(false, new DbCallback<Long>() {
|
||||||
@Override
|
@Override
|
||||||
public Long doDbWork(final SQLiteDatabase db) {
|
public Long doDbWork(final SQLiteDatabase db) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user