eclipse-jdt / eclipse.jdt.ui

Eclipse Public License 2.0
36 stars 86 forks source link

Enum support for if else to switch cleanup #1518

Closed carstenartur closed 1 month ago

carstenartur commented 1 month ago

What it does

Adds support for enum to the cleanup in charge for refactoring chains of "if else" to switch.

How to test

Run the cleanup on code with if else chains or add junit test cases.

Author checklist

carstenartur commented 1 month ago

Hi @jjohnstn, can you have a look? The build error might be unrelated, not sure.

jjohnstn commented 1 month ago

Thanks @carstenartur