diff --git a/src/main/java/org/ntlab/acanthus_server/entities/Animation.java b/src/main/java/org/ntlab/acanthus_server/entities/Animation.java index 2b97551..7506d45 100644 --- a/src/main/java/org/ntlab/acanthus_server/entities/Animation.java +++ b/src/main/java/org/ntlab/acanthus_server/entities/Animation.java @@ -12,6 +12,7 @@ import org.ntlab.acanthus_server.entities.Position; import org.ntlab.acanthus_server.entities.Stroke; +import java.lang.reflect.Array; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; @@ -75,9 +76,8 @@ //private Accounts accounts = Accounts.getInstance(); // page情報 - private ArrayList pages = new ArrayList<>(); public ArrayList getPages() { - return (this.pages); + return (ArrayList) this.pageMap.values(); } //----------------------------------------------------------------- @@ -222,10 +222,6 @@ //this.lastAccess = LocalDateTime.of(2015, 12, 15, 0, 0); - // pageとlayerを1枚ずつ追加 - this.pages.add(new Page()); - this.pages.get(0).getLayers().add(new Layer()); - var newWork = new Work(); //ユーザーの制作作品の作成 newWork.setWork();