package com.novoda.downloadmanager;

import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.OnConflictStrategy;
import android.arch.persistence.room.Query;

import java.util.List;

@Dao
interface RoomFileDao {

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    void insert(RoomFile roomFile);

    @Query("SELECT * FROM RoomFile WHERE RoomFile.batch_id = :batchId")
    List<RoomFile> loadAllFilesFor(String batchId);

    @Query("SELECT * FROM RoomFile")
    List<RoomFile> loadAllFiles();
}

@@ -490,80 +490,7 @@
 Id);
-%0A%0A    @Query(%22SELECT * FROM RoomFile%22)%0A    List%3CRoomFile%3E loadAllFiles();
 %0A%7D%0A

Remove unused dao method