This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have an existing method: public int existing(int a, int b) After invoking Introduce Method on code marked with asterisk int a = 0; int b = 0; * int c = a+b; it creates method with signature public int existing(int b, int a) without any warning that I already have function with same signature... NetBeans IDE 6.0 Beta 1 (Build 200709141330)
A method which of signature matches an existing method can be produced also by Change Signature refactoring, it should report warnings too. The code is not compilable, on the other hand, the change is only local and the conflict can be easily detected by the user, I think, this is P4.
Max volunteered :)
*** Issue 163591 has been marked as a duplicate of this issue. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss