[ 
https://issues.apache.org/jira/browse/NUTCH-3007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17770787#comment-17770787
 ] 

Hudson commented on NUTCH-3007:
-------------------------------

SUCCESS: Integrated in Jenkins build Nutch ยป Nutch-trunk #128 (See 
[https://ci-builds.apache.org/job/Nutch/job/Nutch-trunk/128/])
NUTCH-3007 Fix impossible casts (snagel: 
[https://github.com/apache/nutch/commit/a72a53a32d2183f8a8baefbd50afd007279e4857])
* (edit) src/java/org/apache/nutch/fetcher/Fetcher.java
* (edit) src/java/org/apache/nutch/parse/ParseSegment.java


> 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
>            Priority: Major
>             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)

Reply via email to