Refactor: Use primitive integer type
@@ -3325,7 +3325,7 @@ public abstract class GameImpl implements Game {
String[] s = command.getValue().split(":");
if (s.length == 2) {
try {
- Integer amount = Integer.parseInt(s[1]);
+ int amount = Integer.parseInt(s[1]);
player.setLife(amount, this, null);
logger.debug("Setting player's life: ");
} catch (NumberFormatException e) {
