Closed colinwerner closed 5 years ago
Good call, LGTM. Thank you!
Because this touched the bot classes, I also ran a quick integration-ish test of 9 robot-only games, which of course ran fine.
java -jar JSettlersServer.jar -Djsettlers.bots.botgames.total=9 -Djsettlers.bots.botgames.parallel=5 -Djsettlers.bots.fast_pause_percent=1
According to the documentation, "Returns a Integer instance representing the specified int value. If a new Integer instance is not required, this method should generally be used in preference to the constructor Integer(int), as this method is likely to yield significantly better space and time performance by caching frequently requested values."