This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-text.git
commit 685b5503990e35649969db2b8f66e09efb5d452a Author: aherbert <aherb...@apache.org> AuthorDate: Mon Jul 24 13:35:21 2023 +0100 Use static method --- src/main/java/org/apache/commons/text/numbers/DoubleFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/text/numbers/DoubleFormat.java b/src/main/java/org/apache/commons/text/numbers/DoubleFormat.java index ec7319d4..407ba687 100644 --- a/src/main/java/org/apache/commons/text/numbers/DoubleFormat.java +++ b/src/main/java/org/apache/commons/text/numbers/DoubleFormat.java @@ -499,7 +499,7 @@ public enum DoubleFormat { * @param symbols symbols object * @return string containing the localized digits 0-9 */ - private String getDigitString(final DecimalFormatSymbols symbols) { + private static String getDigitString(final DecimalFormatSymbols symbols) { final int zeroDelta = symbols.getZeroDigit() - DEFAULT_DECIMAL_DIGITS.charAt(0); final char[] digitChars = new char[DEFAULT_DECIMAL_DIGITS.length()];