kylixs commented on PR #561: URL: https://github.com/apache/skywalking-java/pull/561#issuecomment-1605269933
> You could override without parent class, and in each using place, you have specific type, you could call hashcode directly. Implementing hashCode by subclasses is prone to omissions, low reliability, and can produce a lot of errors in the future. 1. Change the method name (for example, computeHashCode) to distinguish it from the default JDK method. 2. Extract computeHashCode to the tool class Which way do you prefer? -- 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]
