Merge pull request #1523 from SamWhited/presence_sync_fix

Don't synchronize on non-final field
This commit is contained in:
Daniel Gultsch 2015-10-27 17:16:18 +01:00
commit d65273ce39
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;