Community
Participate
Working Groups
Using the following code as an example: private String thanksgiving() { return holidayCheer(); } This code is not called from any other place. When the text is typed, the "not used" markers correctly appear on thanksgiving() Introducing an error into holidayCheer, i.e. private String thanksgiving() { return holidayCheer); } disables the not used markers and shows a red squigly line under the paren.
This examples assumes - the compiler setting to warn about unused methods is set to warning or error - holidaysCheer() exists Moving to J Core since they report the problems.
*** This bug has been marked as a duplicate of 45777 ***