diff --git a/src/main/java/org/ntlab/acanthus_server/entities/EditorJson.java b/src/main/java/org/ntlab/acanthus_server/entities/EditorJson.java index b218367..73f2508 100644 --- a/src/main/java/org/ntlab/acanthus_server/entities/EditorJson.java +++ b/src/main/java/org/ntlab/acanthus_server/entities/EditorJson.java @@ -4,21 +4,20 @@ import java.util.Collection; public class EditorJson { - private ArrayList uid = new ArrayList<>(); + private ArrayList uid = new ArrayList<>(); //editorsをレスポンスとして返す public EditorJson(Collection editorList){ for (var editor : editorList){ - String strUid = "/Editor/" + editor.getEditor().getUid(); - uid.add(strUid); + uid.add(editor.getUid()); } } - public Collection getUid() { + public Collection getUid() { return uid; } - public void setAid(ArrayList uid) { + public void setAid(ArrayList uid) { this.uid = uid; } }