Update RomanToInteger.java

declaring serialVersionUID
This commit is contained in:
Alexandra Englert 2020-03-26 16:52:53 +01:00
parent c184e1cecb
commit 31d57c0471

View File

@ -4,7 +4,13 @@ import java.util.*;
public class RomanToInteger {
private static Map<Character, Integer> map = new HashMap<Character, Integer>() {{
private static Map<Character, Integer> map = new HashMap<Character, Integer>() {
/**
*
*/
private static final long serialVersionUID = 87605733047260530L;
{
put('I', 1);
put('V', 5);
put('X', 10);