class DownloadStrategy {

    public void inspectFilenameFromResume(@NonNull String filenameOnStore,
                                          @NonNull DownloadTask task) {
        final String filename = task.getFilename();
        if (Util.isEmpty(filename)) {
            task.getFilenameHolder().set(filenameOnStore);
        }
    }

}