Community
Participate
Working Groups
All doSomething() methods with an generic parameter cannot be refactored. -------------------------------------------- // TestGenericMethod.java import java.util.HashMap; import java.util.Map; public class TestGenericMethod { void callDoSomething() { final Map<String, Object> map = new HashMap<String, Object>(); doSomething(map); doSomething(map, true); doSomething(true); } void doSomething(final Map<String, Object> map) { // } void doSomething(final Map<String, Object> map, final boolean flag) { // } void doSomething(final boolean flag) { // } }
*** This bug has been marked as a duplicate of 75642 ***
Cannot consider this bug as a duplicate, but rather than a dependent...
I wrongly reopened this bug thinking it could be a dependent of bug 80264. This was wrong => so close again as duplicate of bug 75642. Sorry, for annoying unnecessary comments and mails... *** This bug has been marked as a duplicate of 75642 ***