mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
Cleaned up code for some packages (#5094)
* Cleaned up code of some packages --------- Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
40cd4d86ef
commit
22310defcd
@@ -9,7 +9,7 @@ package com.thealgorithms.conversions;
|
||||
*/
|
||||
public class IntegerToRoman {
|
||||
|
||||
private static int[] allArabianRomanNumbers = new int[] {
|
||||
private static final int[] allArabianRomanNumbers = new int[] {
|
||||
1000,
|
||||
900,
|
||||
500,
|
||||
@@ -24,7 +24,7 @@ public class IntegerToRoman {
|
||||
4,
|
||||
1,
|
||||
};
|
||||
private static String[] allRomanNumbers = new String[] {
|
||||
private static final String[] allRomanNumbers = new String[] {
|
||||
"M",
|
||||
"CM",
|
||||
"D",
|
||||
|
||||
Reference in New Issue
Block a user