From 31d57c0471a6934058f902d1f500fad00441fc0c Mon Sep 17 00:00:00 2001 From: Alexandra Englert Date: Thu, 26 Mar 2020 16:52:53 +0100 Subject: [PATCH] Update RomanToInteger.java declaring serialVersionUID --- Conversions/RomanToInteger.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Conversions/RomanToInteger.java b/Conversions/RomanToInteger.java index 4563ce4a..0672a146 100644 --- a/Conversions/RomanToInteger.java +++ b/Conversions/RomanToInteger.java @@ -4,7 +4,13 @@ import java.util.*; public class RomanToInteger { - private static Map map = new HashMap() {{ + private static Map map = new HashMap() { + /** + * + */ + private static final long serialVersionUID = 87605733047260530L; + + { put('I', 1); put('V', 5); put('X', 10);