Project

General

Profile

« Previous | Next » 

Revision 6ed48b2e

Added by Patrick Plitzner over 7 years ago

ref #6283 Fixed potential NPE for EntitySelectionElement

  • refactored constructors to always initialise the clazz variable

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/NomenclaturalAuthorTeamSelectionElement.java
1 1
/**
2 2
 * Copyright (C) 2007 EDIT
3
 * European Distributed Institute of Taxonomy 
3
 * European Distributed Institute of Taxonomy
4 4
 * http://www.e-taxonomy.eu
5
 * 
5
 *
6 6
 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
 * See LICENSE.TXT at the top of this package for the full license terms.
8 8
 */
......
21 21
 * <p>
22 22
 * NomenclaturalAuthorTeamSelectionElement class.
23 23
 * </p>
24
 * 
24
 *
25 25
 * @author n.hoffmann
26 26
 * @created Jun 22, 2010
27 27
 * @version 1.0
......
35 35
	 * <p>
36 36
	 * Constructor for NomenclaturalAuthorTeamSelectionElement.
37 37
	 * </p>
38
	 * 
38
	 *
39 39
	 * @param formFactory
40 40
	 *            a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory}
41 41
	 *            object.
......
55 55
	public NomenclaturalAuthorTeamSelectionElement(CdmFormFactory formFactory,
56 56
			ConversationHolder conversation, ICdmFormElement parentElement,
57 57
			String labelString, Team entity, int mode, int style) {
58
		super(formFactory, conversation, parentElement, labelString, entity,
58
		super(formFactory, conversation, parentElement, Team.class, labelString, entity,
59 59
				mode, style);
60 60
	}
61 61

  

Also available in: Unified diff