From: David ‘Bombe’ Roden Date: Mon, 18 Oct 2010 07:58:08 +0000 (+0200) Subject: Store posts in a set, not in a list! X-Git-Tag: 0.1-RC1~250 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=874506cede6f3cba7fc99da420fc1d79e2433358;p=Sone.git Store posts in a set, not in a list! --- 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 --- 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 friendSones = new HashSet(); /** All posts. */ - private final List posts = new ArrayList(); + private final Set posts = new HashSet(); /** All replies. */ private final Set replies = new HashSet();