apache/beam

StateTags$CombiningValueStateTag inherits equals from super class but without incorporating its state

Aberta

#18.017 aberto em 3 de jun. de 2022

 (0 comentário) (0 reação) (0 responsável)Java (4.097 forks)batch import
P3bugcoregood first issuejava

Métricas do repositório

Stars
 (7.313 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

FindBugs EQ_DOESNT_OVERRIDE_EQUALS: Class doesn't override equals in superclass

Applies to: StateTags$CombiningValueStateTag. CombiningValueStateTag inherits its equals implementation from its parent class, KeyedCombiningValueStateTag. CombiningValueStateTag has additional fields which are not included in the equality implementation, which may be incorrect.

This is a good starter bug. When fixing, please remove the corresponding entries from findbugs-filter.xml and verify the build passes.

Imported from Jira BEAM-421. Original Jira may contain additional context. Reported by: swegner.

Guia do colaborador