Fixed RawDataOverviewPane MZmineTab methods
@@ -20,6 +20,7 @@ package io.github.mzmine.modules.visualization.rawdataoverview;
import java.io.IOException;
import java.util.Collection;
+import java.util.Collections;
import java.util.logging.Level;
import java.util.logging.Logger;
import io.github.mzmine.datamodel.RawDataFile;
@@ -27,6 +28,7 @@ import io.github.mzmine.datamodel.features.FeatureList;
import io.github.mzmine.gui.mainwindow.MZmineTab;
import javafx.fxml.FXMLLoader;
import javafx.scene.layout.BorderPane;
+import javax.annotation.Nonnull;
public class RawDataOverviewPane extends MZmineTab {
@@ -53,19 +55,22 @@ public class RawDataOverviewPane extends MZmineTab {
this(false, false);
}
+ @Nonnull
@Override
public Collection<? extends RawDataFile> getRawDataFiles() {
return controller.getRawDataFiles();
}
+ @Nonnull
@Override
public Collection<? extends FeatureList> getFeatureLists() {
- return null;
+ return Collections.emptyList();
}
+ @Nonnull
@Override
public Collection<? extends FeatureList> getAlignedFeatureLists() {
- return null;
+ return Collections.emptyList();
}
@Override
