Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 42d362d3 authored by AndyScherzinger's avatar AndyScherzinger
Browse files

fix after rebase, add override annotations

parent 4ec4f1a7
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -67,6 +67,14 @@ public class FileVersion implements Parcelable, ServerFileInterface {
        return "";
    }

    /**
     * For file version this is the same as remoteId
     */
    @Override
    public String getLocalId() {
        return getRemoteId();
    }

    @Override
    public String getRemoteId() {
        return remoteId;
+9 −3
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ public class TrashbinFile implements Parcelable, Serializable, ServerFileInterfa
        return false;
    }

    @Override
    public String getRemotePath() {
        return remotePath;
    }
@@ -75,6 +76,7 @@ public class TrashbinFile implements Parcelable, Serializable, ServerFileInterfa
        this.fullRemotePath = fullRemotePath;
    }

    @Override
    public String getMimeType() {
        return mimeType;
    }
@@ -83,6 +85,7 @@ public class TrashbinFile implements Parcelable, Serializable, ServerFileInterfa
        this.mimeType = mimeType;
    }

    @Override
    public long getFileLength() {
        return length;
    }
@@ -91,6 +94,7 @@ public class TrashbinFile implements Parcelable, Serializable, ServerFileInterfa
        this.length = length;
    }

    @Override
    public String getRemoteId() {
        return remoteId;
    }
@@ -102,6 +106,7 @@ public class TrashbinFile implements Parcelable, Serializable, ServerFileInterfa
    /**
     * For trashbin this is the same as remoteId
     */
    @Override
    public String getLocalId() {
        return getRemoteId();
    }
@@ -110,6 +115,7 @@ public class TrashbinFile implements Parcelable, Serializable, ServerFileInterfa
        this.fileName = fileName;
    }

    @Override
    public String getFileName() {
        return fileName;
    }
@@ -130,6 +136,7 @@ public class TrashbinFile implements Parcelable, Serializable, ServerFileInterfa
        return deletionTimestamp;
    }

    @Override
    public boolean isFolder() {
        return mimeType != null && mimeType.equals(DIRECTORY);
    }
@@ -160,7 +167,6 @@ public class TrashbinFile implements Parcelable, Serializable, ServerFileInterfa
        setOriginalLocation(we.getTrashbinOriginalLocation());
        setDeletionTimestamp(we.getTrashbinDeletionTimestamp());
        setRemoteId(we.remoteId());
        
    }

    /**