projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store posts in a set, not in a list!
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
Sone.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/Sone.java
b/src/main/java/net/pterodactylus/sone/data/Sone.java
index
2efb90d
..
a387545
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/Sone.java
+++ b/
src/main/java/net/pterodactylus/sone/data/Sone.java
@@
-67,7
+67,7
@@
public class Sone {
private final Set<Sone> friendSones = new HashSet<Sone>();
/** All posts. */
private final Set<Sone> friendSones = new HashSet<Sone>();
/** All posts. */
- private final
List<Post> posts = new ArrayLis
t<Post>();
+ private final
Set<Post> posts = new HashSe
t<Post>();
/** All replies. */
private final Set<Reply> replies = new HashSet<Reply>();
/** All replies. */
private final Set<Reply> replies = new HashSet<Reply>();