DarkAssassinator opened a new issue, #12133: URL: https://github.com/apache/dolphinscheduler/issues/12133
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened `SpotBugs` found that some classes overrides `equals(Object)`, but does not override `hashCode()`, and inherits the implementation of hashCode() from java.lang.Object (which returns the identity hash code, an arbitrary value assigned to the object by the VM). Therefore, the class is very likely to violate the invariant that equal objects must have equal hashcodes. + TaskDefinition + ProcessData + ProcessDefinition + ProcessDefinitionLog ### What you expected to happen Class can overwrite `euqal()` and `hashCode()` at the same time ### How to reproduce just review the code ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
