mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
fix deprecations
This commit is contained in:
@@ -127,7 +127,7 @@ LongOpt(String name, int has_arg,
|
||||
if ((has_arg != NO_ARGUMENT) && (has_arg != REQUIRED_ARGUMENT)
|
||||
&& (has_arg != OPTIONAL_ARGUMENT))
|
||||
{
|
||||
Object[] msgArgs = { new Integer(has_arg).toString() };
|
||||
Object[] msgArgs = { Integer.toString(has_arg) };
|
||||
throw new IllegalArgumentException(MessageFormat.format(
|
||||
_messages.getString("getopt.invalidValue"), msgArgs));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user