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.
When I rewrite BlockTree with a single statement to BlockTree with two such statements BlockTree original = (BlockTree) node; List<? extends StatementTree> sts = original.getStatements(); StatementTree st = sts.get(0); List<StatementTree> st2 = new ArrayList<StatementTree>(); st2.add(st); st2.add(st); modified = make.Block(st2, false); wc.rewrite(node, modified); the statement is only once in the result. That is, even if I add a statement to the list more than once, it will appear only once in the resulting source code. Is this a feature or defect? If it is a feature, could it be changed?
Lowering priority. This issues are very specific.
Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next".
I am working on a refactoring module and these bugs are crucial for it to work.
*** Issue 162486 has been marked as a duplicate of this issue. ***
Reassigning all moonko's java/source bugs to myself.
Bug prior to 7.0, not touched for the last 2 years --> P4.
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