From be2fffaa29279f9072e86a84cd7cded0315b7b10 Mon Sep 17 00:00:00 2001 From: jojodicus Date: Thu, 7 Mar 2024 15:57:35 +0100 Subject: [PATCH] fix: terminally deprecated feature --- 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 1d8ed6cc..b2ec4bab 100644 --- a/src/rars/venus/NumberDisplayBaseChooser.java +++ b/src/rars/venus/NumberDisplayBaseChooser.java @@ -221,7 +221,7 @@ public String formatNumber(int value) { if (base == NumberDisplayBaseChooser.HEXADECIMAL) { return Binary.intToHexString(value); } else { - return new Integer(value).toString(); + return String.valueOf(value); } }