From 13212dd30c4430bd97064079fe9ea581da28d4c1 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Sun, 7 Jul 2024 14:39:29 -0400 Subject: [PATCH] remove deprecated feature: `new Integer` --- src/rars/venus/NumberDisplayBaseChooser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rars/venus/NumberDisplayBaseChooser.java b/src/rars/venus/NumberDisplayBaseChooser.java index eb77c907..321e2e2a 100644 --- a/src/rars/venus/NumberDisplayBaseChooser.java +++ b/src/rars/venus/NumberDisplayBaseChooser.java @@ -218,7 +218,7 @@ public String formatNumber(int value) { if (base == NumberDisplayBaseChooser.HEXADECIMAL) { return Binary.intToHexString(value); } else { - return new Integer(value).toString(); + return Integer.toString(value); } }