diff --git a/src/main/java/org/ntlab/nemophila/models/accounts/Account.java b/src/main/java/org/ntlab/nemophila/models/accounts/Account.java index 5a2c70b..e194cd0 100644 --- a/src/main/java/org/ntlab/nemophila/models/accounts/Account.java +++ b/src/main/java/org/ntlab/nemophila/models/accounts/Account.java @@ -68,12 +68,12 @@ } //pidを指定して投稿を一つ取得 - Post getPost(String pid) { + public Post getPost(String pid) { return posts.get(pid); } //そのaccountの投稿を全て取得 - Collection getPosts() { + public Collection getPosts() { return posts.values(); }