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

Summary: "Add blank line after description" inserts unwanted blank lines
Product: editor Reporter: _ gtzabari <gtzabari>
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

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.