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.

Bug 234802 - Organize Member: First line of Javadoc put on same line as ending brace above it.
Summary: Organize Member: First line of Javadoc put on same line as ending brace above...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-22 14:01 UTC by MackSix
Modified: 2013-08-28 00:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Options Settings java-formatting-settings.zip (1.23 KB, application/x-zip-compressed)
2013-08-22 14:01 UTC, MackSix
Details
Java source "Members before.java" (7.27 KB, application/octet-stream)
2013-08-22 14:02 UTC, MackSix
Details
Java source "Members after.java" (7.25 KB, text/plain)
2013-08-22 14:03 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-08-22 14:01:51 UTC
Created attachment 139076 [details]
Options Settings java-formatting-settings.zip

1. Import into Tools >> Options attached Java Formatting settings (java-formatting-settings.zip)
2. Open attached file "Members before.java"
3. Choose Source >> Organize Members

On line 86, the first line of a Javadoc is placed on the same line as the closing brace of the static initialization block above it. See attached file "Members after.java"

Product Version: NetBeans IDE Dev (Build 201308212300)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b38
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 MackSix 2013-08-22 14:02:33 UTC
Created attachment 139077 [details]
Java source "Members before.java"
Comment 2 MackSix 2013-08-22 14:03:06 UTC
Created attachment 139078 [details]
Java source "Members after.java"
Comment 3 Dusan Balek 2013-08-26 16:25:08 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/0179976e6a82
Comment 4 Quality Engineering 2013-08-27 10:04:30 UTC
Integrated into 'main-silver', will be available in build *201308270854* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0179976e6a82
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #234802: Organize Member: First line of Javadoc put on same line as ending brace above it - fixed.
Comment 5 MackSix 2013-08-28 00:37:05 UTC
Verified fixed:

Product Version: NetBeans IDE Dev (Build 201308270854)
Updates: Updates available
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)