hashgraph / hashgraph/full-stack-testing
Update SemanticVersion class to have hashcode function
未关闭
Bug
- 主要语言
- Java
- 星标
- 9
- 派生
- 3
- PR 合并指标
- 30 天内没有已合并 PR
描述
According to "Effective Java - Joshua Bloch", Chapter -3 (Item 11): Always override hashCode when you override equals,
This is because, otherwise it would cause issues when using these objects in `HashMap` and `HashSet`
https://github.com/hashgraph/full-stack-testing/blob/main/fullstack-core/fullstack-base-api/src/main/java/com/hedera/fullstack/base/api/version/SemanticVersion.java#L145
Also we need to add relavent unit tests
贡献指南
评估
这个 Issue 还没有评估数据。