Refactor: Remove redundant boxing/unboxing to parse int primitives (#9065)

This commit is contained in:
DeepCrimson 2022-06-12 09:46:59 -07:00 committed by GitHub
parent 95ede50523
commit 3ae5f4979d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 19 additions and 19 deletions

View file

@ -1317,7 +1317,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
i++;
}
if (arg.startsWith(PORT_ARG)) {
startPort = Integer.valueOf(args[i + 1]);
startPort = Integer.parseInt(args[i + 1]);
i++;
}
if (arg.startsWith(DEBUG_ARG)) {