Project

General

Profile

« Previous | Next » 

Revision 5373a0e9

Added by Katja Luther over 4 years ago

ref #8677: fix wrong type

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/DistributionAggregationWizardPage.java
614 614
       return EnumSet.copyOf(list);
615 615
   }
616 616

  
617
   public List<AggregationSourceMode> getAggregationMode(){
617
   public List<AggregationMode> getAggregationMode(){
618 618

  
619
       List<AggregationSourceMode> result = new ArrayList<>();
619
       List<AggregationMode> result = new ArrayList<>();
620 620
       for (Object o: aggregationModeViewer.getCheckedElements()){
621
           if (o instanceof AggregationSourceMode){
622
               result.add((AggregationSourceMode)o);
621
           if (o instanceof AggregationMode){
622
               result.add((AggregationMode)o);
623 623
           }
624 624
       }
625 625
       return result;

Also available in: Unified diff