Hello,
assume following example:
public class Bug {
private void test(int value) {
if (value == 0) {
return;
}
test(value-1);
}
}
The method test isn't shown as unused.
Ok, it *is* used, but only within itself. Because no other method uses this
test-method, it never could call (==use) itself. Therefor it is unused.
I know, that it could be much more difficult for more methods that call
each other (a calls b, b calls c, c calls a) to detect, whether anybody
else calls anything within this circle. But it is much simpler to detect
simple recursive calls.
Tom
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list