Skip to content

Use correct getter method prefix for type "Boolean"#544

Merged
kwin merged 1 commit intomasterfrom
bugfix/toString-for-Boolean
Feb 12, 2026
Merged

Use correct getter method prefix for type "Boolean"#544
kwin merged 1 commit intomasterfrom
bugfix/toString-for-Boolean

Conversation

@kwin
Copy link
Contributor

@kwin kwin commented Feb 11, 2026

Calculate prefix only once in getPrefix(JavaFieldMetadata) and use that in "generateEquals(...)" and "generateToString(...)"

This closes #543

Calculate prefix only once in getPrefix(JavaFieldMetadata) and use that
in "generateEquals(...)" and "generateToString(...)"

This closes #543
@kwin kwin requested review from gnodet and slachiewicz February 11, 2026 15:55
@kwin kwin added the bug label Feb 12, 2026
@kwin kwin merged commit f6b63b0 into master Feb 12, 2026
12 checks passed
@kwin kwin deleted the bugfix/toString-for-Boolean branch February 12, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

modello-plugin-java: Incorrect toString()/equals() generation for fields of type "Boolean"

2 participants