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] getter and setter method consistent with the rules #2266

Closed
liusha001 opened this issue Oct 19, 2019 · 2 comments
Closed

[BUG] getter and setter method consistent with the rules #2266

liusha001 opened this issue Oct 19, 2019 · 2 comments

Comments

@liusha001
Copy link

liusha001 commented Oct 19, 2019

I am terribly sorry for my poor English.
Describe
The first word is a lowercase letter, the second uppercase, getter/setter method not consistent with the rules

To Reproduce

@Data
public class User {
    private String uName;
}
        User user = new User();
        // should be getuName()
        user.setUName("Jim");

getter/setter method should be getuName()/setuName()

Version

	<groupId>org.projectlombok</groupId>
	<artifactId>lombok</artifactId>
	<version>1.18.10</version>
	<scope>provided</scope>
@Maaartinus
Copy link
Contributor

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

3 participants