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.
NetBeans 6.0 RC2: Comment will be included in the result of "Encapsulate field". The behavior is different from 5.5.1. Try "Encapsulate field" for the following codes. Source -- public class Main { /* test */ int a; } -- Result NB6.0: /* test */ will be added for getA() -- public class Main { /* test */ private int a; public /* test */ int getA() { return a; } public void setA(int a) { this.a = a; } } -- Result NB5.5.1: -- public class Main { /* test */ private int a; public int getA() { return a; } public void setA(int a) { this.a = a; } } --
moving opened issues from TM <= 6.1 to TM=Dev
Still reproducible?
yes, I can still reproduce it
Reassign...
This looks like problem of refactoring. Maybe the is some sort of tree copied and with comment together.
Already fixed. This issue is duplicate of another already fixed issue or I forgot to mark it as fixed.