From be9ad815f992468e6501384c7d3d95f7094c7b18 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 7 Dec 2014 11:35:41 +0100 Subject: [PATCH] Remove unnecessary synchronization. --- src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java b/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java index 5d8f1c4..142f4a2 100644 --- a/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java +++ b/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java @@ -357,9 +357,7 @@ public class SoneImpl implements LocalSone { * @return All posts of this Sone */ public List getPosts() { - synchronized (this) { - return FluentIterable.from(posts).toSortedList(Post.TIME_COMPARATOR); - } + return FluentIterable.from(posts).toSortedList(Post.TIME_COMPARATOR); } /** -- 2.7.4