1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-02 00:56:55 +02:00

Thread safety for XMPP

This commit is contained in:
snowleo
2012-08-04 10:48:56 +02:00
parent af73c11638
commit bf93bb2026
2 changed files with 11 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ import java.util.*;
public class UserManager implements IConf
{
private final transient EssentialsConf users;
private final transient List<String> spyusers = new ArrayList<String>();
private final transient List<String> spyusers = Collections.synchronizedList(new ArrayList<String>());
private final static String ADDRESS = "address";
private final static String SPY = "spy";