diff --git a/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java index 51c0d42e..50aa1ada 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java @@ -1,6 +1,7 @@ package one.nem.lacerta.data.impl; import java.util.ArrayList; +import java.util.List; import javax.inject.Inject; @@ -46,7 +47,7 @@ public class DocumentImpl implements Document{ DocumentEntity documentEntity = database.documentDao().findById(id); // タグデータ作成 - ArrayList tagEntities = database.tagDao().findByIds(documentEntity.tagIds); + List tagEntities = database.tagDao().findByIds(documentEntity.tagIds); ArrayList documentTags = new ArrayList<>(); for (TagEntity tagEntity : tagEntities) { DocumentTag documentTag = new DocumentTag();