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

Furkan KAMACI commented on NUTCH-2346:
--------------------------------------

[~lewismc] We should check both either object is null or not and belongs to 
same class when checking equality of objects. GeneratorJob.java does not 
consider null case and class. I've added it. 

On the other hand, Metadata.java checks for null case but tries to check class 
equality with exception handling, which is not the proper way.

> Check Types at Object Equality
> ------------------------------
>
>                 Key: NUTCH-2346
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2346
>             Project: Nutch
>          Issue Type: Bug
>          Components: generator, metadata
>    Affects Versions: 2.3.1
>            Reporter: Furkan KAMACI
>            Assignee: Furkan KAMACI
>            Priority: Minor
>             Fix For: 2.4
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to