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

ASF GitHub Bot commented on TWILL-264:
--------------------------------------

Github user anew commented on a diff in the pull request:

    https://github.com/apache/twill/pull/80#discussion_r251089608
  
    --- Diff: 
twill-discovery-api/src/test/java/org/apache/twill/discovery/DiscoverableTest.java
 ---
    @@ -0,0 +1,36 @@
    +package org.apache.twill.discovery;
    --- End diff --
    
    please add copyright


> Discovery.hashCode implementation is wrong
> ------------------------------------------
>
>                 Key: TWILL-264
>                 URL: https://issues.apache.org/jira/browse/TWILL-264
>             Project: Apache Twill
>          Issue Type: Bug
>            Reporter: Terence Yim
>            Priority: Major
>
> The equals() method compare the payload array content, but the hashCode is 
> computed based on the payload reference.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to