Project

General

Profile

« Previous | Next » 

Revision 725b6f1f

Added by Andreas Müller over 6 years ago

ref #6903 cleanup and refactor distribution editor

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/distributionStatus/DistributionTablePresenter.java
58 58
 */
59 59
@SpringComponent
60 60
@ViewScope
61
public class DistributionTablePresenter extends AbstractPresenter<DistributionTableView> {
61
public class DistributionTablePresenter extends AbstractPresenter<IDistributionTableView> {
62 62

  
63 63
	private static final long serialVersionUID = 3313043335587777217L;
64 64

  
......
179 179
	}
180 180

  
181 181
	public HashMap<DescriptionElementBase, Distribution> getDistribution(DefinedTermBase dt, Taxon taxon) {
182
		Set<Feature> setFeature = new HashSet<Feature>(Arrays.asList(Feature.DISTRIBUTION()));
182
		Set<Feature> setFeature = new HashSet<>(Arrays.asList(Feature.DISTRIBUTION()));
183 183
		List<DescriptionElementBase> listTaxonDescription = CdmSpringContextHelper.getDescriptionService().listDescriptionElementsForTaxon(taxon, setFeature, null, null, null, DESCRIPTION_INIT_STRATEGY);
184 184
		HashMap<DescriptionElementBase, Distribution> map = null;
185 185
		for(DescriptionElementBase deb : listTaxonDescription){

Also available in: Unified diff