Sebastian Nagel created NUTCH-3007:
--------------------------------------
Summary: Fix impossible casts
Key: NUTCH-3007
URL: https://issues.apache.org/jira/browse/NUTCH-3007
Project: Nutch
Issue Type: Sub-task
Affects Versions: 1.19
Reporter: Sebastian Nagel
Assignee: Sebastian Nagel
Fix For: 1.20
Spotbugs reports two occurrences of
Impossible cast from java.util.ArrayList to String[] in
org.apache.nutch.fetcher.Fetcher.run(Map, String)
Both were introduced later into the {{run(Map<String, Object> args, String
crawlId)}} method and obviously never used (would throw a ClassCastException).
The code blocks should be removed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)