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:
parent
56ec148cbc
commit
6550151684
@ -7,6 +7,7 @@ import java.io.Serializable;
|
|||||||
|
|
||||||
public class AccountStats implements Serializable
|
public class AccountStats implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = -5706839923710842234L;
|
||||||
public long size = -1;
|
public long size = -1;
|
||||||
public int unreadMessageCount = 0;
|
public int unreadMessageCount = 0;
|
||||||
public int flaggedMessageCount = 0;
|
public int flaggedMessageCount = 0;
|
||||||
|
@ -4,6 +4,7 @@ import java.io.Serializable;
|
|||||||
|
|
||||||
public class Identity implements Serializable
|
public class Identity implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = -1666669071480985760L;
|
||||||
private String mDescription;
|
private String mDescription;
|
||||||
private String mName;
|
private String mName;
|
||||||
private String mEmail;
|
private String mEmail;
|
||||||
|
@ -12,6 +12,7 @@ import com.fsck.k9.mail.Flag;
|
|||||||
|
|
||||||
public class SearchAccount implements BaseAccount, SearchSpecification, Serializable
|
public class SearchAccount implements BaseAccount, SearchSpecification, Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = -4388420303235543976L;
|
||||||
private Flag[] mRequiredFlags = null;
|
private Flag[] mRequiredFlags = null;
|
||||||
private Flag[] mForbiddenFlags = null;
|
private Flag[] mForbiddenFlags = null;
|
||||||
private String email = null;
|
private String email = null;
|
||||||
|
@ -236,6 +236,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
|||||||
|
|
||||||
static class Attachment implements Serializable
|
static class Attachment implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = 3642382876618963734L;
|
||||||
public String name;
|
public String name;
|
||||||
public String contentType;
|
public String contentType;
|
||||||
public long size;
|
public long size;
|
||||||
|
@ -4,6 +4,7 @@ import java.io.Serializable;
|
|||||||
|
|
||||||
public class MessageReference implements Serializable
|
public class MessageReference implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = -1625198750239083389L;
|
||||||
public String accountUuid;
|
public String accountUuid;
|
||||||
public String folderName;
|
public String folderName;
|
||||||
public String uid;
|
public String uid;
|
||||||
|
@ -4,6 +4,7 @@ import java.io.Serializable;
|
|||||||
|
|
||||||
public class PgpData implements Serializable
|
public class PgpData implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = 6314045536470848410L;
|
||||||
protected long mEncryptionKeyIds[] = null;
|
protected long mEncryptionKeyIds[] = null;
|
||||||
protected long mSignatureKeyId = 0;
|
protected long mSignatureKeyId = 0;
|
||||||
protected String mSignatureUserId = null;
|
protected String mSignatureUserId = null;
|
||||||
|
@ -17,6 +17,8 @@ import java.util.ArrayList;
|
|||||||
*/
|
*/
|
||||||
public class FetchProfile extends ArrayList<FetchProfile.Item>
|
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
|
* Default items available for pre-fetching. It should be expected that any
|
||||||
* item fetched by using these items could potentially include all of the
|
* item fetched by using these items could potentially include all of the
|
||||||
|
@ -423,6 +423,8 @@ public class ImapResponseParser
|
|||||||
*/
|
*/
|
||||||
public class ImapList extends ArrayList<Object>
|
public class ImapList extends ArrayList<Object>
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = -4067248341419617583L;
|
||||||
|
|
||||||
public ImapList getList(int index)
|
public ImapList getList(int index)
|
||||||
{
|
{
|
||||||
return (ImapList)get(index);
|
return (ImapList)get(index);
|
||||||
@ -580,6 +582,10 @@ public class ImapResponseParser
|
|||||||
*/
|
*/
|
||||||
public class ImapResponse extends ImapList
|
public class ImapResponse extends ImapList
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 6886458551615975669L;
|
||||||
private boolean mCompleted;
|
private boolean mCompleted;
|
||||||
private IImapResponseCallback mCallback;
|
private IImapResponseCallback mCallback;
|
||||||
|
|
||||||
|
@ -2942,6 +2942,7 @@ public class ImapStore extends Store
|
|||||||
|
|
||||||
static class ImapException extends MessagingException
|
static class ImapException extends MessagingException
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = 3725007182205882394L;
|
||||||
String mAlertText;
|
String mAlertText;
|
||||||
|
|
||||||
public ImapException(String message, String alertText, Throwable throwable)
|
public ImapException(String message, String alertText, Throwable throwable)
|
||||||
|
@ -65,6 +65,8 @@ import com.fsck.k9.provider.AttachmentProvider;
|
|||||||
public class LocalStore extends Store implements Serializable
|
public class LocalStore extends Store implements Serializable
|
||||||
{
|
{
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -5142141896809423072L;
|
||||||
|
|
||||||
private static final Message[] EMPTY_MESSAGE_ARRAY = new Message[0];
|
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
|
public class LocalFolder extends Folder implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = -1973296520918624767L;
|
||||||
private String mName = null;
|
private String mName = null;
|
||||||
private long mFolderId = -1;
|
private long mFolderId = -1;
|
||||||
private int mUnreadMessageCount = -1;
|
private int mUnreadMessageCount = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user