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

Add serialVersionUID to Serializable classes to make eclipse happy

This commit is contained in:
Jesse Vincent 2011-01-31 23:45:14 +00:00
parent 56ec148cbc
commit 6550151684
10 changed files with 18 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import java.io.Serializable;
public class AccountStats implements Serializable
{
private static final long serialVersionUID = -5706839923710842234L;
public long size = -1;
public int unreadMessageCount = 0;
public int flaggedMessageCount = 0;

View File

@ -4,6 +4,7 @@ import java.io.Serializable;
public class Identity implements Serializable
{
private static final long serialVersionUID = -1666669071480985760L;
private String mDescription;
private String mName;
private String mEmail;

View File

@ -12,6 +12,7 @@ import com.fsck.k9.mail.Flag;
public class SearchAccount implements BaseAccount, SearchSpecification, Serializable
{
private static final long serialVersionUID = -4388420303235543976L;
private Flag[] mRequiredFlags = null;
private Flag[] mForbiddenFlags = null;
private String email = null;

View File

@ -236,6 +236,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
static class Attachment implements Serializable
{
private static final long serialVersionUID = 3642382876618963734L;
public String name;
public String contentType;
public long size;

View File

@ -4,6 +4,7 @@ import java.io.Serializable;
public class MessageReference implements Serializable
{
private static final long serialVersionUID = -1625198750239083389L;
public String accountUuid;
public String folderName;
public String uid;

View File

@ -4,6 +4,7 @@ import java.io.Serializable;
public class PgpData implements Serializable
{
private static final long serialVersionUID = 6314045536470848410L;
protected long mEncryptionKeyIds[] = null;
protected long mSignatureKeyId = 0;
protected String mSignatureUserId = null;

View File

@ -17,6 +17,8 @@ import java.util.ArrayList;
*/
public class FetchProfile extends ArrayList<FetchProfile.Item>
{
private static final long serialVersionUID = -5520076119120964166L;
/**
* Default items available for pre-fetching. It should be expected that any
* item fetched by using these items could potentially include all of the

View File

@ -423,6 +423,8 @@ public class ImapResponseParser
*/
public class ImapList extends ArrayList<Object>
{
private static final long serialVersionUID = -4067248341419617583L;
public ImapList getList(int index)
{
return (ImapList)get(index);
@ -580,6 +582,10 @@ public class ImapResponseParser
*/
public class ImapResponse extends ImapList
{
/**
*
*/
private static final long serialVersionUID = 6886458551615975669L;
private boolean mCompleted;
private IImapResponseCallback mCallback;

View File

@ -2942,6 +2942,7 @@ public class ImapStore extends Store
static class ImapException extends MessagingException
{
private static final long serialVersionUID = 3725007182205882394L;
String mAlertText;
public ImapException(String message, String alertText, Throwable throwable)

View File

@ -65,6 +65,8 @@ import com.fsck.k9.provider.AttachmentProvider;
public class LocalStore extends Store implements Serializable
{
private static final long serialVersionUID = -5142141896809423072L;
private static final Message[] EMPTY_MESSAGE_ARRAY = new Message[0];
/**
@ -1286,6 +1288,7 @@ public class LocalStore extends Store implements Serializable
public class LocalFolder extends Folder implements Serializable
{
private static final long serialVersionUID = -1973296520918624767L;
private String mName = null;
private long mFolderId = -1;
private int mUnreadMessageCount = -1;