Skip to content

Refactorings integrated into the new version of Eclipse #494

@nbauma109

Description

@nbauma109

Hello

I'd like to wish you happy new year and congratulate you for the new refactorings integrated into Eclipse. I started playing with them and issued a few bugs at bugs.eclipse.org :

I tried to keep the examples as minimal as I could and identify precisely the rules causing the issues.

578121 | [Code Clean-Up] "Pull down common code from if/else statement" results into compilation failure
578124 | [Code Clean-Up] 2 combined rules resulting into compilation failure
578126 | [Code Clean-Up] "Make inner classes static where possible" results into compilation failure
578127 | [Code Clean-Up] "Reduce indentation" fails
578128 | [Code Clean-Up] "Convert to switch expression where possible" discards assignments
578129 | [Code Clean-Up] "Convert to switch expression where possible" result missing the default case
578130 | [Code Clean-Up] "Convert to switch expression where possible" swallows comments
578168 | [Code Clean-Up] "Convert if/else if/else chain to switch" results into compilation failure
578169 | [Code Clean-Up] "Remove unused local variables" results into compilation failure
578170 | [Code Clean-Up] "Use '==' or '^' on booleans" results into compilation failure

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions