diff --git a/app/src/main/java/com/example/nemophila/Nemophila.java b/app/src/main/java/com/example/nemophila/Nemophila.java index 887d607..b48eb3c 100644 --- a/app/src/main/java/com/example/nemophila/Nemophila.java +++ b/app/src/main/java/com/example/nemophila/Nemophila.java @@ -31,7 +31,7 @@ //フィルターのデータ private HashSet selectGenres = new HashSet<>(); - private HashSet selectFriends = new HashSet<>(); + private HashSet selectFriends = new HashSet<>(); //Account関連のGetter public String getName() { @@ -97,7 +97,7 @@ public HashSet getSelectGenres() { return selectGenres; } - public HashSet getSelectFriends() { + public HashSet getSelectFriends() { return selectFriends; } @@ -158,7 +158,7 @@ public void setSelectGenres(String selectGenre) { this.selectGenres.add(selectGenre); } - public void setSelectFriends(Account selectFriend) { + public void setSelectFriends(String selectFriend) { this.selectFriends.add(selectFriend); } @@ -166,7 +166,7 @@ public void removeSelectGenres(String selectGenre){ this.selectGenres.remove(selectGenre); } - public void removeSelectFriends(Account selectFriend) { + public void removeSelectFriends(String selectFriend) { this.selectFriends.remove(selectFriend); } }