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

[DOCS] Missing clearXxx examples in Builder Singular snippet #3169

Closed
tlinkowski opened this issue Apr 11, 2022 · 2 comments
Closed

[DOCS] Missing clearXxx examples in Builder Singular snippet #3169

tlinkowski opened this issue Apr 11, 2022 · 2 comments

Comments

@tlinkowski
Copy link
Contributor

Describe the bug
Methods clearOccupations, clearAxes, clearElves, clearMinutiae are missing on the Builder Singular snippet webpage.

To Reproduce

  1. Go to https://projectlombok.org/features/BuilderSingular
  2. Look for methods mentioned above.

Expected behavior
The methods should be there (Delombok rerun required).

Version info (please complete the following information):

  • Lombok version: N/A
  • Platform: N/A

Additional context
There's also https://projectlombok.org/features/Singular-snippet.html webpage (I found it through Google, but I'm not sure if this page is still valid).

@rzwitserloot
Copy link
Collaborator

I never know how people find this stuff, but, fair enough - you're entirely correct.

@tlinkowski
Copy link
Contributor Author

If it's interesting, I found it like this:

  1. I had @Singular List<Foo> foos and wrote toBuilder().foos(extraFoos).build()
  2. a colleague commented that I probably overwrite foos instead of appending
  3. I explained to him this "quirk" of @Singular and directed him to a delomboked example

😉

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

2 participants