-
Notifications
You must be signed in to change notification settings - Fork 418
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
[Spring] Duplicate "is" in boolean getter method names #91
Comments
HugoMario
added a commit
that referenced
this issue
Jun 9, 2018
Remove duplicate "is" as described in #91
This issue is open for JavaJaxRs /**
* Tells if the resource is enabled
* @return enabled
**/
@JsonProperty("enabled")
public Boolean isisEnabled() { // <<<< Should be isEnabled
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public Entity enabled(Boolean enabled) {
this.enabled = enabled;
return this;
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running codegen on schemas using the Spring language, boolean getter method names contain the "is" prefix twice.
For example, this model:
Will generate this class:
Notice the
isisMyprop()
method, which should be namedisMyprop()
.The text was updated successfully, but these errors were encountered: