package com.novoda.downloadmanager;

import android.support.annotation.Nullable;

interface InternalDownloadFileStatus extends DownloadFileStatus {

    void update(FileSize fileSize, FilePath localFilePath);

    boolean isMarkedAsDownloading();

    boolean isMarkedAsQueued();

    boolean isMarkedForDeletion();

    void markAsDownloading();

    void isMarkedAsPaused();

    boolean isMarkedAsError();

    void markAsQueued();

    void markForDeletion();

    void markAsError(DownloadError.Error error);

    @Nullable
    Optional<DownloadError> error();

}

@@ -34,53 +34,8 @@
 r;%0A%0A
-import android.support.annotation.Nullable;%0A%0A
 inte
@@ -467,22 +467,8 @@
 );%0A%0A
-    @Nullable%0A
     

Remove Nullable annotation on Optional.