We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The sequence of calling a builder-based with-method and a standard with-method for the same property should be respected.
For example: when calling
builder.withName( new Builder<String>() { public String build() { return "other name"; } }); builder.withName( "some name"); Pojo p = builder.build();
I get the expected result: p.getName() returns "some name", which is fine.
p.getName()
"some name"
When I change the call sequence to the following:
builder.withName( "some name"); builder.withName( new Builder<String>() { public String build() { return "other name"; } }); Pojo p = builder.build();
I would expect p.getName() to return "other name", but I get "some name".
"other name"
The text was updated successfully, but these errors were encountered:
952b826
No branches or pull requests
The sequence of calling a builder-based with-method and a standard with-method for the same property should be respected.
For example: when calling
I get the expected result:
p.getName()
returns"some name"
, which is fine.When I change the call sequence to the following:
I would expect
p.getName()
to return"other name"
, but I get"some name"
.The text was updated successfully, but these errors were encountered: