ref #8677: fix wrong type
authorKatja Luther <k.luther@bgbm.org>
Wed, 4 Dec 2019 13:39:02 +0000 (14:39 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 4 Dec 2019 13:39:02 +0000 (14:39 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/DistributionAggregationWizardPage.java

index 5153e51e06c5debdbdb8b673e8a477c65be6f5e3..d44c710277af304d06bb4a51da7c5d463ba15834 100755 (executable)
@@ -614,12 +614,12 @@ public class DistributionAggregationWizardPage extends WizardPage implements Lis
        return EnumSet.copyOf(list);
    }
 
-   public List<AggregationSourceMode> getAggregationMode(){
+   public List<AggregationMode> getAggregationMode(){
 
-       List<AggregationSourceMode> result = new ArrayList<>();
+       List<AggregationMode> result = new ArrayList<>();
        for (Object o: aggregationModeViewer.getCheckedElements()){
-           if (o instanceof AggregationSourceMode){
-               result.add((AggregationSourceMode)o);
+           if (o instanceof AggregationMode){
+               result.add((AggregationMode)o);
            }
        }
        return result;