remove Serializable interface from LocalStore and LocalFolder
This commit is contained in:
parent
472733edcd
commit
f37f4233a2
2 changed files with 2 additions and 7 deletions
|
@ -9,7 +9,6 @@ import java.io.FileOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -69,8 +68,7 @@ import org.apache.james.mime4j.util.MimeUtil;
|
||||||
import timber.log.Timber;
|
import timber.log.Timber;
|
||||||
|
|
||||||
|
|
||||||
public class LocalFolder extends Folder<LocalMessage> implements Serializable {
|
public class LocalFolder extends Folder<LocalMessage> {
|
||||||
private static final long serialVersionUID = -1973296520918624767L;
|
|
||||||
private static final int MAX_BODY_SIZE_FOR_DATABASE = 16 * 1024;
|
private static final int MAX_BODY_SIZE_FOR_DATABASE = 16 * 1024;
|
||||||
private static final long INVALID_MESSAGE_PART_ID = -1;
|
private static final long INVALID_MESSAGE_PART_ID = -1;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ import java.io.FileNotFoundException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
@ -75,9 +74,7 @@ import org.openintents.openpgp.util.OpenPgpApi.OpenPgpDataSource;
|
||||||
* Implements a SQLite database backed local store for Messages.
|
* Implements a SQLite database backed local store for Messages.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
public class LocalStore extends Store implements Serializable {
|
public class LocalStore extends Store {
|
||||||
private static final long serialVersionUID = -5142141896809423072L;
|
|
||||||
|
|
||||||
static final String[] EMPTY_STRING_ARRAY = new String[0];
|
static final String[] EMPTY_STRING_ARRAY = new String[0];
|
||||||
static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
|
static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue