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.
Build 2007073411200 The following should produce the "Assignment to itself" hint/warning. ===== package xxx.yyy; public class AssignSelf { int a; void foo() { this.a = a; // this is NOT detected as assignment to self } }
Checking in AssignmentToItself.java; /cvs/java/hints/src/org/netbeans/modules/java/hints/AssignmentToItself.java,v <-- AssignmentToItself.java new revision: 1.6; previous revision: 1.5 done