Update RomanToInteger.java
declaring serialVersionUID
This commit is contained in:
parent
c184e1cecb
commit
31d57c0471
@ -4,7 +4,13 @@ import java.util.*;
|
|||||||
|
|
||||||
public class RomanToInteger {
|
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('I', 1);
|
||||||
put('V', 5);
|
put('V', 5);
|
||||||
put('X', 10);
|
put('X', 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user