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 219952 - Organize members does not work at one invocation
Summary: Organize members does not work at one invocation
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-11 21:07 UTC by Jiri Prox
Modified: 2012-11-27 02:56 UTC (History)
1 user (show)

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 Jiri Prox 2012-10-11 21:07:02 UTC
Organize members does not do all changes at single invocation.

Steps to reproduce:
1) change Code Generation settings - turn on 'Sort Members by Visibility' and change order to Default, Public, Private, Protected

2) have a code 

    public void publicMethod() {}
    private void privateMethod() {}
    protected void protectedMethod() {}
    void method() {}
    void method2() {}
    void method3() {}

3) invoke Organize members several times:

after 1st invocation-->

    void method() {}
    public void publicMethod() {}
    void method2() {}
    private void privateMethod() {}
    void method3() {}
    protected void protectedMethod() {}


after 2nd invocation-->

    void method() {}
    void method2() {}
    public void publicMethod() {}
    void method3() {}
    private void privateMethod() {}
    protected void protectedMethod() {}

after 3rd invocation-->

    void method() {}
    void method2() {}
    void method3() {}
    public void publicMethod() {}
    private void privateMethod() {}
    protected void protectedMethod() {}



Product Version: NetBeans IDE Dev (Build 201210100002)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b03
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 _ gtzabari 2012-11-01 15:31:32 UTC
Confirmed. The same is true for "Members Sort Order".
Comment 2 Dusan Balek 2012-11-26 11:47:53 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/efbb3e4fe746
Comment 3 Quality Engineering 2012-11-27 02:56:22 UTC
Integrated into 'main-golden', will be available in build *201211270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/efbb3e4fe746
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #219952: Organize members does not work at one invocation - fixed.