diff --git a/src/main/java/com/norconex/commons/lang/bean/jackson/JsonXmlMapSerializer.java b/src/main/java/com/norconex/commons/lang/bean/jackson/JsonXmlMapSerializer.java index 6e48c203..b478a7b5 100644 --- a/src/main/java/com/norconex/commons/lang/bean/jackson/JsonXmlMapSerializer.java +++ b/src/main/java/com/norconex/commons/lang/bean/jackson/JsonXmlMapSerializer.java @@ -42,12 +42,12 @@ public class JsonXmlMapSerializer> @SuppressWarnings("unchecked") public JsonXmlMapSerializer() { - super((Class) Map.class); + super((Class) (Class) Map.class); } @SuppressWarnings("unchecked") private JsonXmlMapSerializer(BeanProperty currentProperty) { - super((Class) Map.class); + super((Class) (Class) Map.class); this.currentProperty = currentProperty; }