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: | [69cat] Method content gets reformatted when comments are removed and annotations are added | ||
---|---|---|---|
Product: | java | Reporter: | misterm <misterm> |
Component: | Source | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hmichel, jkovalsky |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | test case |
Description
misterm
2010-05-28 20:20:38 UTC
Created attachment 99636 [details]
test case
Steps to reproduce: 1. Run the project; 2. Open it in the new IDE; 3. Right-click the file ProtectedSectionBug and select "Show bug removing comments close to protected section"; Diffing the file using Local History will show it had its content reformatted. While in this example this happens in the protected section, in my production code and project it happens on a considerable number of files, but it is just hard to isolate. Dusan, can you please have a look at this one? Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/95fc81d15711 Integrated into 'main-golden', will be available in build *201102050000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/95fc81d15711 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #186923: Guarded block end marker removed when comments are removed and annotations are added - fixed. |