From b2245e390fc410dd4c3c3a207292f347224cbdb5 Mon Sep 17 00:00:00 2001 From: Tilman Hausherr Date: Sun, 4 Aug 2024 21:16:10 +0200 Subject: [PATCH] TIKA-4293: use correct type --- .../java/org/apache/tika/detect/zip/StreamingDetectContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-zip-commons/src/main/java/org/apache/tika/detect/zip/StreamingDetectContext.java b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-zip-commons/src/main/java/org/apache/tika/detect/zip/StreamingDetectContext.java index 743b169776..8130eaea0e 100644 --- a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-zip-commons/src/main/java/org/apache/tika/detect/zip/StreamingDetectContext.java +++ b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-zip-commons/src/main/java/org/apache/tika/detect/zip/StreamingDetectContext.java @@ -77,6 +77,6 @@ public T get(Class key, T defaultValue) { } public void remove(Class key) { - context.remove(key); + context.remove(key.getName()); } }