Remove unused code from Folder
@@ -11,8 +11,6 @@ import timber.log.Timber;
public abstract class Folder<T extends Message> {
private String status = null;
- private long lastChecked = 0;
- private long lastPush = 0;
private FolderType type = FolderType.REGULAR;
public static final int OPEN_MODE_RW=0;
@@ -157,26 +155,6 @@ public abstract class Folder<T extends Message> {
return getServerId();
}
- public long getLastChecked() {
- return lastChecked;
- }
-
- public void setLastChecked(long lastChecked) throws MessagingException {
- this.lastChecked = lastChecked;
- }
-
- public long getLastPush() {
- return lastPush;
- }
-
- public void setLastPush(long lastCheckedDisplay) throws MessagingException {
- this.lastPush = lastCheckedDisplay;
- }
-
- public long getLastUpdate() {
- return Math.max(getLastChecked(), getLastPush());
- }
-
public FolderClass getDisplayClass() {
return FolderClass.NO_CLASS;
}
@@ -188,10 +166,6 @@ public abstract class Folder<T extends Message> {
return getSyncClass();
}
- public boolean isInTopGroup() {
- return false;
- }
-
public String getStatus() {
return status;
}
