You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- modify PatternInstanceofToSwitchFixCore to add new static
method createPatternInstanceofToSwitchFix()
- add new code to QuickAssistProcessor that looks to see if the
cursor is in an if chain and see if it is using pattern instanceof
and can be converted to switch
- add new test AssistQuickFixTest21
- fixeseclipse-jdt#1978
This complements the new cleanup that converts such if blocks to switch statements/switch expressions. See #1919
The text was updated successfully, but these errors were encountered: