Improve synchronization.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Sone.java
index 145dca4..4195484 100644 (file)
@@ -405,7 +405,7 @@ public class Sone {
         *
         * @return All replies this Sone made
         */
-       public Set<Reply> getReplies() {
+       public synchronized Set<Reply> getReplies() {
                return Collections.unmodifiableSet(replies);
        }