use jetbrains annotations
@@ -32,8 +32,8 @@ import java.util.Iterator;
import java.util.List;
import java.util.stream.Stream;
import javafx.beans.property.SimpleObjectProperty;
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
+import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
public class LipidSpectrumProvider implements PlotXYDataProvider {
@@ -75,12 +75,12 @@ public class LipidSpectrumProvider implements PlotXYDataProvider {
}
@Override
- public double[] getMzValues(@Nonnull double[] dst) {
+ public double[] getMzValues(@NotNull double[] dst) {
return new double[0]; // Local implementation only so this does not matter
}
@Override
- public double[] getIntensityValues(@Nonnull double[] dst) {
+ public double[] getIntensityValues(@NotNull double[] dst) {
return new double[0]; // Local implementation only so this does not matter
}
@@ -129,7 +129,7 @@ public class LipidSpectrumProvider implements PlotXYDataProvider {
return null;
}
- @Nonnull
+ @NotNull
@Override
public Iterator<DataPoint> iterator() {
return null;
@@ -140,20 +140,20 @@ public class LipidSpectrumProvider implements PlotXYDataProvider {
this.seriesKey = seriesKey;
}
- @Nonnull
+ @NotNull
@Override
public Color getAWTColor() {
return color;
}
- @Nonnull
+ @NotNull
@Override
public javafx.scene.paint.Color getFXColor() {
return FxColorUtil.awtColorToFX(color);
}
- @Nonnull
+ @NotNull
@Override
public Comparable<?> getSeriesKey() {
return seriesKey;
