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 200358 - "Add blank line after description" inserts unwanted blank lines
Summary: "Add blank line after description" inserts unwanted blank lines
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 13:59 UTC by _ gtzabari
Modified: 2011-07-27 14:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2011-07-25 13:59:31 UTC
Product Version: NetBeans IDE Dev (Build 201107220600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)

1. Given the following Javadoc:

/**
 * @author Gili Tzabari
 */

2. Code format transforms this into:

/**
 *
 * @author Gili Tzabari
 */

3. Expected behavior: if there is no description, do not insert a blank line.
Comment 1 Dusan Balek 2011-07-26 12:14:12 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/9c3a2b1720c0
Comment 2 Quality Engineering 2011-07-27 14:07:28 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/9c3a2b1720c0
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #200358: "Add blank line after description" inserts unwanted blank lines - fixed.