hashgraph / hashgraph/full-stack-testing
Update SemanticVersion class to have hashcode function
Aperta
Bug
- Lingua principale
- Java
- Stelle
- 9
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.