From ac576d0549f685ddbc6fcaa8ee12a7f2f2744815 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Fri, 9 Feb 2024 18:09:38 +0100 Subject: [PATCH] remove unnecessary cast --- src/main/java/org/htmlunit/util/OrderedFastHashMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/htmlunit/util/OrderedFastHashMap.java b/src/main/java/org/htmlunit/util/OrderedFastHashMap.java index 38fdf3960fc..6a6afcd50e4 100644 --- a/src/main/java/org/htmlunit/util/OrderedFastHashMap.java +++ b/src/main/java/org/htmlunit/util/OrderedFastHashMap.java @@ -668,7 +668,7 @@ private void readObject(final ObjectInputStream aInputStream) throws ClassNotFou final K key = (K) srcData[pos]; final V value = (V) srcData[pos + 1]; - put((K) key, value); + put(key, value); } }