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

Projects

None yet

2 participants

@lombokissues
Collaborator

Migrated from Google Code (issue 301)

@lombokissues
Collaborator

๐Ÿ‘ค 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
Collaborator

๐Ÿ‘ค pe.fips ย  ๐Ÿ•— Nov 23, 2011 at 17:56 UTC

@lombokissues
Collaborator

๐Ÿ‘ค 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
Collaborator

End of migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment