eclipse-jdt / eclipse.jdt.ui

Eclipse Public License 2.0
36 stars 86 forks source link

Fix calculation if cast needed for simplifying lambda to method ref #1504

Closed jjohnstn closed 2 months ago

jjohnstn commented 2 months ago

What it does

Fixes lambda to method ref cleanup/quick assists to not add extraneous cast.

How to test

See issue or new tests.

Author checklist

HannesWell commented 2 months ago

Thanks a lot for the fast fix. :)