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

Bug report: auto generate setter method name error when the property is starts with a character #1453

Closed
shijiebei2009 opened this issue Aug 10, 2017 · 2 comments

Comments

@shijiebei2009
Copy link

when I have a property uName in a javabean, according to the javabean specification for setter/getter method name, it should be setuName and getuName, but the lombok auto generate method name is setUName and getUName.

lombok version in IDEA

org.projectlombok
lombok
1.16.12

@Maaartinus
Copy link
Contributor

Maaartinus commented Aug 10, 2017

I'm not a project owner, but I'd bet, it won't get changed:
#757 (comment)
The problem is that the javabeans crapification base classes are themselves inconsistent (NameGenerator vs Introspector). Given it has simple and logical rules like "every second Friday, when the field name contains two vowels, use the ¯\_(ツ)_/¯ prefix", I can't say I'm surprised.

Duplicate of #757

@rzwitserloot
Copy link
Collaborator

Duplicate of #2693

@rzwitserloot rzwitserloot marked this as a duplicate of #2693 Jan 2, 2021
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

No branches or pull requests

4 participants