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 f11cb80..87235e2 100644 --- a/src/main/java/org/ntlab/nemophila/models/accounts/Account.java +++ b/src/main/java/org/ntlab/nemophila/models/accounts/Account.java @@ -13,12 +13,15 @@ private String name; @JsonProperty("id") private String id; - @JsonIgnore private String pw; @JsonProperty("token") private String token; + //Accountから対応するFriendManagerを1つ呼び出す(初期化) + @JsonIgnore + FriendManager friendManager = new FriendManager(); + //コンストラクタ public Account(String name, String pw) { this.name = name; @@ -94,8 +97,6 @@ return posts.size(); } - //Accountから対応するFriendManagerを1つ呼び出す(初期化) - FriendManager friendManager = new FriendManager(); public FriendManager getFriendManager() { return friendManager; }