apache/beam

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

Open

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

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Java (4,097 fork)batch import
P3bugcoregood first issuejava

仓库指标

Star
 (7,313 star)
PR 合并指标
 (平均合并 6天) (30 天内合并 243 个 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.

贡献者指南