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

Sava actions failed when @Getter or @Setter is applied to a multiple field declaration #374

Closed
lombokissues opened this issue Jul 14, 2015 · 4 comments
Assignees
Labels

Comments

@lombokissues
Copy link

Migrated from Google Code (issue 301)

@lombokissues
Copy link
Author

👤 lschin10   🕗 Nov 23, 2011 at 05:54 UTC

What version of the product are you using? On what operating system?

  • Lombok 0.10.2, 0.10.4

What steps will reproduce the problem?

  1. With following example
    @ Getter private int x, y;
  2. Only occur when
    Save Actions
    |
    Additional actions, Configure...
    |
    Member Accesses
    |
    Non static accesses
    |
    CHECK checkbox : [Use 'this' qualifier for field accesses]
    CHECK radio : [Only if necessary]

What is the expected output? What do you see instead?

  • Save actions success is expected.
  • ERROR :
    A save participant caused problems.
    The save participant 'Code Clean Up' caused an exception:
    org.eclipse.text.edits.MalformedTreeException:
    Overlapping text edits. See the error log for details.

@lombokissues
Copy link
Author

👤 pe.fips   🕗 Nov 23, 2011 at 17:56 UTC

@lombokissues
Copy link
Author

👤 reinierz   🕗 Nov 28, 2011 at 18:51 UTC

Jappe van der Hel was fixing a completely unrelated issue (Issue #124), and I couldn't reproduce your problem in my build. Went back to 0.10.4 and lo! there it's broken. So, Jappe's fixes for 51 fixes this by accident as well. Eh, I call us a win.

I pushed out an edge release so you can give this a try and see if it works for you. Grab it at:

https://projectlombok.org/download-edge.html

@lombokissues
Copy link
Author

End of migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants