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 132881

Summary: Newlines inserted before moved annotation
Product: java Reporter: Andrei Badea <abadea>
Component: EditorAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Andrei Badea 2008-04-15 13:58:49 UTC
[ 6.1 RC1 ]

Create a Java Application project, add the TopLink Essentials library. Create a new class Foo and paste the following
into it:

@Entity
public class Foo implements Serializable {

    @Id
    private int id;
    private String name;

    public String getName() {
        return name;
    }
}

Save the file. Add a @Column annotation to the getName() method. Invoke the 'Unify field access' hint on the 'public
class Foo' line. The @Column annotation is moved to the name field, but two newlines are added before it.
Comment 1 Jan Becicka 2008-11-12 13:42:18 UTC
Later
Comment 2 Quality Engineering 2009-11-02 10:59:34 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX