From e747ecef4d6b9573be84229692ddc0cb9b2fe8e2 Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Mon, 26 Oct 2015 20:13:48 -0500 Subject: Don't synchronize on non-final field --- src/main/java/eu/siacs/conversations/entities/Presences.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/eu/siacs/conversations/entities/Presences.java b/src/main/java/eu/siacs/conversations/entities/Presences.java index bccf3117..4729a11b 100644 --- a/src/main/java/eu/siacs/conversations/entities/Presences.java +++ b/src/main/java/eu/siacs/conversations/entities/Presences.java @@ -15,7 +15,7 @@ public class Presences { public static final int DND = 3; public static final int OFFLINE = 4; - private Hashtable presences = new Hashtable(); + private final Hashtable presences = new Hashtable<>(); public Hashtable getPresences() { return this.presences; -- cgit v1.2.3