Skip to content
Snippets Groups Projects
Commit b6ccb498 authored by tcarver's avatar tcarver
Browse files

simplify to one constructor

parent 834d9871
No related branches found
No related tags found
No related merge requests found
......@@ -174,24 +174,13 @@ public class FeatureEdit extends JPanel
final GotoEventSource goto_event_source,
final JFrame frame)
{
this(edit_feature, entry_group, selection,
goto_event_source, frame,
edit_feature.getEntry().getEntryInformation());
}
public FeatureEdit(final Feature edit_feature,
final EntryGroup entry_group,
final Selection selection,
final GotoEventSource goto_event_source,
final JFrame frame, final EntryInformation entry_information)
{
this.entry_information = entry_information;
this.frame = frame;
this.edit_feature = edit_feature;
this.edit_entry = edit_feature.getEntry();
this.entry_group = entry_group;
this.selection = selection;
this.goto_event_source = goto_event_source;
this.entry_information = edit_feature.getEntry().getEntryInformation();
setLayout(new BorderLayout());
createComponents();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment