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.

貢獻者指南