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 209844 - [formatting] Inner class not formatted correctly
Summary: [formatting] Inner class not formatted correctly
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks: 224640
  Show dependency tree
 
Reported: 2012-03-21 11:11 UTC by Martin Janicek
Modified: 2013-01-09 11:31 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 Martin Janicek 2012-03-21 11:11:31 UTC
Have an inner class declared and invoke format action. 

==> Actual state:

class Test {
    void testMehtod() {
        List list = [];
        list.add(new Runnable() {
                void run() {
                    return true;
                }
            });
    }
}

==> Expected state:

class Test {
    void testMehtod() {
        List list = [];
        list.add(new Runnable() {
            void run() {
                return true;
            }
        });
    }
}