From 716b3885b31174044c2d974bed9c4bbdf2891278 Mon Sep 17 00:00:00 2001 From: Pascal Essiembre Date: Thu, 29 Aug 2024 22:34:19 -0400 Subject: [PATCH] Fixed build error. --- .../commons/lang/bean/jackson/JsonXmlMapSerializer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }