hashgraph / hashgraph/full-stack-testing
Update SemanticVersion class to have hashcode function
Abierto
Bug
- Lenguaje dominante
- Java
- Estrellas
- 9
- Forks
- 3
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.