1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Fixed NullPointerExceptions

This commit is contained in:
Marcus Wolschon 2011-01-17 10:28:58 +00:00
parent a95771bdae
commit 30767c3bd9

View File

@ -1408,9 +1408,9 @@ public class LocalStore extends Store implements Serializable
super.setLastPush(lastPushed);
mInTopGroup = topGroup ==1 ? true : false;
mIntegrate = integrate == 1 ? true : false;
mDisplayClass = Folder.FolderClass.valueOf(displayClass);
mPushClass = Folder.FolderClass.valueOf(pushClass);
mSyncClass = Folder.FolderClass.valueOf(syncClass);
mDisplayClass = Folder.FolderClass.valueOf(displayClass == null?"NO_CLASS":displayClass);
mPushClass = Folder.FolderClass.valueOf(pushClass == null?"NO_CLASS":pushClass);
mSyncClass = Folder.FolderClass.valueOf(syncClass == null?"NO_CLASS":syncClass);
}