Community
Participate
Working Groups
HEAD See also bug 306524, bug 318471. Test case: package snippet; class A { //comment1- do not delete //comment before- delete with declaration static final int TEST= 1; //comment after- delete with declaration //comment2 - do not delete boolean b= equals(TEST); } The first time I apply the refactoring it works as expected, deleting only the comments that belong to the extended range of the declaration node, whereas from second time onwards it only deletes all the comments before the declaration and none of the ones after : class A { //comment after- delete with declaration //comment2 - do not delete boolean b= equals(1); } Ayush, could you pls take a look and see if its related to your fix for bug 306524?
(In reply to comment #0) {..} > Ayush, could you pls take a look and see if its related to your fix for bug > 306524? This is a separate, pre-existing bug I believe. I backed out the fix for 306524 but the problem was still there. So looks like something else. I'll investigate
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.