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

Consider properties for equality of ObjectProperty #3085

Merged
merged 2 commits into from
Feb 1, 2019

Conversation

mduesterhoeft
Copy link

@mduesterhoeft mduesterhoeft commented Jan 24, 2019

Addresses #3084

@mduesterhoeft
Copy link
Author

Hi there, what do you think? Does this have a chance to be merged soon? @frantuma

@@ -139,4 +139,25 @@ public ObjectProperty example(Object example) {
this.setExample(example);
return this;
}

@Override
public boolean equals(Object o) {
Copy link
Member

Choose a reason for hiding this comment

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

can you possibly just add

if (this == o) {
  return true;
}

@frantuma frantuma merged commit 3456a77 into swagger-api:1.5 Feb 1, 2019
@frantuma
Copy link
Member

frantuma commented Feb 1, 2019

Thanks!

@mduesterhoeft
Copy link
Author

Thanks for merging.

@mduesterhoeft mduesterhoeft deleted the equals-object branch February 3, 2019 21:02
@mduesterhoeft
Copy link
Author

@frantuma do you already have plans to release the next 1.5 version?

@frantuma
Copy link
Member

It will be within 1-2 weeks

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.

2 participants