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

Hudson commented on NUTCH-2768:
-------------------------------

SUCCESS: Integrated in Jenkins build Nutch-trunk #3665 (See 
[https://builds.apache.org/job/Nutch-trunk/3665/])
NUTCH-2768 FetcherThread: unnecessary usage of class casts (snagel: 
[https://github.com/apache/nutch/commit/77ec28f49fb9b7ed05355dba74f2d3bb928b2581])
* (edit) src/java/org/apache/nutch/fetcher/FetcherThread.java


> FetcherThread: unnecessary usage of class casts
> -----------------------------------------------
>
>                 Key: NUTCH-2768
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2768
>             Project: Nutch
>          Issue Type: Improvement
>          Components: fetcher
>    Affects Versions: 1.16
>            Reporter: Sebastian Nagel
>            Priority: Trivial
>             Fix For: 1.17
>
>
> The member variables fetchQueues (instance of FetchItemQueues) and 
> spinWaiting (instance of AtomicInteger) are declared as "Object" which then 
> requires to cast them. The variables are assigned in the constructor, they 
> should be declared with the correct type to avoid unnecessary casts.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to