Community
Participate
Working Groups
3.1 sometimes i have an argument that is a method call and could as well be computed by passing the args to the callee example will make it clear: private void foo(Set s){ bar(s, s.size()); } private void bar(Set c, int size){ .... } the second parameter of bar is useless. It could be just computed: private void foo(Set s){ bar(s); } private void bar(Set c, int size){ int size= c.size(); .... } That of course only works sometimes. But maybe there's a simple and broad enough pattern of useful cases.
Move to JDT/UI
oops. thx
*** This bug has been marked as a duplicate of 53507 ***