Project: JDT
Bug 102883 [source actions] [5.0] Create constuctor from fields in enum allows illegal modifiers
Reported: 2005-07-06 12:10:11 | Status: verified fixed

Eclipse 3.1.0 Build I20050627-1435 When using create constructor from fields for an enum, the dialog allows the public and protected modifiers, which are illegal for enum constructors. Should instead allow only default and private access.

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsSelectionDialog.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java