eventmesh
eventmesh copied to clipboard
[Bug] Forget to override hashcode()
Search before asking
- [X] I had searched in the issues and found no similar issues.
Environment
Mac
EventMesh version
master
What happened
This class overrides equals(Object), but does not override hashCode(). It just inherits the implementation of hashCode() from java.lang.Object.
How to reproduce
In module eventmesh-runtime In class org.apache.eventmesh.runtime.core.protocol.tcp.client.session.Session In method org.apache.eventmesh.runtime.core.protocol.tcp.client.session.Session.equals(Object) In [lines 257-273]
Debug logs
No response
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!