Don't synchronize on non-final field

This commit is contained in:
Sam Whited 2015-10-26 20:13:48 -05:00
parent ec473a4437
commit e747ecef4d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ public class Presences {
public static final int DND = 3;
public static final int OFFLINE = 4;
private Hashtable<String, Integer> presences = new Hashtable<String, Integer>();
private final Hashtable<String, Integer> presences = new Hashtable<>();
public Hashtable<String, Integer> getPresences() {
return this.presences;