Nitpick, use final where possible rather than mutable volatile state
This commit is contained in:
parent
4b552f0317
commit
16a461db76
@ -53,8 +53,8 @@ public class ServerMonitor
|
||||
private static HashSet<String> _delayedKill = new HashSet<String>();
|
||||
private static HashSet<String> _laggyServers = new HashSet<String>();
|
||||
|
||||
private static volatile SimpleDateFormat _dateFormat = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss");
|
||||
private static volatile Logger _logger = Logger.getLogger("ServerMonitor");
|
||||
private static final SimpleDateFormat _dateFormat = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss");
|
||||
private static final Logger _logger = Logger.getLogger("ServerMonitor");
|
||||
private static Timer _timer = new Timer();
|
||||
|
||||
private static int _totalPlayers = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user