Community
Participate
Working Groups
In the code below String aa(Day day) { String today = switch (day) { case SATURDAY,SUNDAY : String str= "alc"; System.out.println(str); break "Weekend"; case MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY : break "Working"; default : throw new IllegalArgumentException("Invalid day: " + day.name()); }; return today; } In the baove code snippet, select str and press Ctrl+1. The rename option is not available on it. select str and Right click Refactor -> Rename. nothing happens.
Should be handled with the fix for bug 539080.
Fixed with bug 539080.