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 189445 - Last bracket is not properly formatted
Summary: Last bracket is not properly formatted
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Adam Sotona
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-08-12 13:32 UTC by Alexandr Scherbatiy
Modified: 2011-05-16 13:53 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 Alexandr Scherbatiy 2010-08-12 13:32:09 UTC
NB 6.10

  Product Version         = NetBeans IDE Dev (Build 201008120001) (#1829845032fa)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc.

Steps to reproduce:
- Format the code:
---------------------------------------
import javafx.scene.CustomNode;
import javafx.scene.Group;
import javafx.scene.Node;

class MyCustomNode extends CustomNode {

    public override function create(): Node {
        Group {
            content: []
        }
    }

}
---------------------------------------

The result is:

class MyCustomNode extends CustomNode {

    public override function create(): Node {
        Group {
            content: []
        }
    }}   // <- Not properly formatted bracket
---------------------------------------
Comment 1 Alexandr Scherbatiy 2010-08-12 13:32:53 UTC
It is a regression from the NB 6.9.1
Comment 2 Martin Ryzl 2010-10-21 11:56:48 UTC
.
Comment 3 David Strupl 2011-05-16 13:53:34 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.