You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2018/02/26 18:52:00 UTC

[jira] [Resolved] (KAFKA-4921) AssignedPartition should implement equals

     [ https://issues.apache.org/jira/browse/KAFKA-4921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guozhang Wang resolved KAFKA-4921.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.0.0

> AssignedPartition should implement equals
> -----------------------------------------
>
>                 Key: KAFKA-4921
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4921
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Marc Juchli
>            Priority: Minor
>             Fix For: 0.11.0.0
>
>
> We ran FundBug, which resulted in the "Bad practice warning":
> 	
> Bug type EQ_COMPARETO_USE_OBJECT_EQUALS (click for details) 
> In class org.apache.kafka.streams.processor.internals.StreamPartitionAssignor$AssignedPartition
> In method org.apache.kafka.streams.processor.internals.StreamPartitionAssignor$AssignedPartition.compareTo(StreamPartitionAssignor$AssignedPartition)
> At StreamPartitionAssignor.java:[line 75]



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