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.
Summary: | Wrong Assignment to itself warning | ||
---|---|---|---|
Product: | java | Reporter: | ehucka <ehucka> |
Component: | Hints | Assignee: | Petr Hrebejk <phrebejk> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | athompson, dynamite, sj-nb |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ehucka
2007-06-12 17:36:16 UTC
the same in public Point locationSuggested(Widget widget, Point originalLocation, Point suggestedLocation) { suggestedLocation.x=originalLocation.x;//<-- warning Yes it will probably have many duplicates. The test is currently done by element (which is per type) and thus does not take the variables in member selects into account. Checking in AssignmentToItself.java; /cvs/java/hints/src/org/netbeans/modules/java/hints/AssignmentToItself.java,v <-- AssignmentToItself.java new revision: 1.5; previous revision: 1.4 done verified *** Issue 110495 has been marked as a duplicate of this issue. *** this is still present as of the 6 august build 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 yup. can we turn the option back on again by default? it works for me |