apache/beam

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

开放

#18,017 创建于 2022年6月3日

 (0 条评论) (0 个反应) (0 位负责人)Java (4,097 个派生)batch import
P3bugcoregood first issuejava

仓库指标

星标
 (7,313 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南