Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. New hint to convert mixed case kind in Switch-Expression/Switch-Cases to rule kind cases (JDK-12 & above)

    hint  for converting mixed case type in Switch to rule kind cases.


    After implementing the error fix:


    Hint for converting mixed type in Switch expression to to rule kind cases.


    After implementing the error fix:


  2. Formatting and correct re indentation of Switch-Expression and Rule Switch.
       a. rule switch-switch expression before formatting :

        rule
     switch-switch expression after formatting :
    Image Added
        
  3. Auto complete of enum case values in Switch-Expression



Bug-Fixes:

  1. NETBEANS-1728: ClassCastException in Switch Expression
  2. NETBEANS-1674: NPE thrown while formatting the switch expression

...