Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status equals #11752

Closed
wants to merge 8 commits into from
Closed

Status equals #11752

wants to merge 8 commits into from

Conversation

amin-mlm
Copy link

eqauls method of Status overrided. So comparing two Statuses is now easier.

Copy link

linux-foundation-easycla bot commented Dec 16, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@@ -657,7 +657,10 @@ private static String parseAsciiStringSlow(byte[] value) {
*/
@Override
public boolean equals(Object obj) {
return super.equals(obj);
if (obj instanceof Status) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amin-mlm have you checked the method javadoc? It explains the current behaviour.

@ejona86 ejona86 closed this Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants