Project: JDT
Bug 140771 [generate constructor] generate constructor for enum [code generation]
Reported: 2006-05-09 07:32:04 | Status: verified fixed

When using [Source->Generate constructor using fields] for an enum, the generated constructor is public by default. This is illegal (as far as I understand), and should always be private. It shouls also ommit the call to super().

Files changed in fix:
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