mymde opened a new pull request, #1449: URL: https://github.com/apache/commons-lang/pull/1449
Modified the compare() method implementation to use if (o1 == o2) instead of the original if (o1 == null && o2 == null) check. This allows for earlier identification of identical objects (including null objects), avoiding unnecessary toString() calls and string comparison operations, improving performance. -- 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]
