Nitpick, use final where possible rather than mutable volatile state

This commit is contained in:
Kenny Goodin 2017-11-25 20:39:41 -05:00 committed by Alexander Meech
parent 4b552f0317
commit 16a461db76

View File

@ -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;