Project: JDT
Bug 223997 [clean up] sort members is confused with different modifiers
Reported: 2008-03-25 18:24:22 | Status: resolved fixed

I20080325-0100 - Enable 'Sort members' in clean up - Disable to sort fields and enums - use clean up on the following file public interface Main { public final String PREFIX = "."; //$NON-NLS-1$ public static final String PROP1 = PREFIX + "AncestorVisible"; //$NON-NLS-1$ public static final String PROP2 = PREFIX + "IgnoreAncestor"; //$NON-NLS-1$ } result does not compile. The problem must be the different modifiers (meaning the same in an interface)

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/SortMembersOperation.java