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 200441

Summary: Code format breaks {@link}
Product: editor Reporter: _ gtzabari <gtzabari>
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: VERIFIED FIXED    
Severity: normal CC: pjiricka
Priority: P1    
Version: 7.1   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:

Description _ gtzabari 2011-07-27 16:02:27 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)

The Javadoc code-format converts:

 * The {@link #read(ByteBuffer,long,TimeUnit,Object,CompletionHandler) read} and
 * {@link #write(ByteBuffer,long,TimeUnit,Object,CompletionHandler) write} methods defined by this

into

 * The {@link #read(ByteBuffer,long,TimeUnit,Object,CompletionHandler) read} and
 * {
 * @link #write(ByteBuffer,long,TimeUnit,Object,CompletionHandler) write} methods defined by this

notice how the second {@link} is broken across two lines.
Comment 1 _ gtzabari 2011-07-27 16:03:02 UTC
Correction, the result of code-format is:

 * The {
 *
 * @link #read(ByteBuffer,long,TimeUnit,Object,CompletionHandler) read} and
 * {
 * @link #write(ByteBuffer,long,TimeUnit,Object,CompletionHandler) write} methods defined by this

It actually breaking both links.
Comment 2 Dusan Balek 2011-07-29 13:09:36 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/7c41ac599d5c
Comment 3 Quality Engineering 2011-08-02 13:44:10 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/7c41ac599d5c
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #200441: Code format breaks {@link} - fixed.
Comment 4 Jiri Prox 2011-11-18 16:52:34 UTC
verified in 7.1 RC1