hashgraph / hashgraph/full-stack-testing

Update SemanticVersion class to have hashcode function

オープン
#760 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。