diff --git a/numass-control/cryotemp/src/main/java/inr/numass/cryotemp/PKT8Device.java b/numass-control/cryotemp/src/main/java/inr/numass/cryotemp/PKT8Device.java index 1e4c7354..f6a411b7 100644 --- a/numass-control/cryotemp/src/main/java/inr/numass/cryotemp/PKT8Device.java +++ b/numass-control/cryotemp/src/main/java/inr/numass/cryotemp/PKT8Device.java @@ -15,22 +15,22 @@ */ package inr.numass.cryotemp; -import hep.dataforge.names.Named; import hep.dataforge.context.Context; import hep.dataforge.control.collectors.RegularPointCollector; import hep.dataforge.control.measurements.DataDevice; import hep.dataforge.control.ports.PortHandler; import hep.dataforge.control.ports.TcpPortHandler; -import hep.dataforge.tables.TableTableFormatBuilder; import hep.dataforge.exceptions.ControlException; import hep.dataforge.exceptions.PortException; import hep.dataforge.exceptions.StorageException; import hep.dataforge.meta.Annotated; import hep.dataforge.meta.Meta; import hep.dataforge.meta.MetaBuilder; +import hep.dataforge.names.Named; import hep.dataforge.storage.api.PointLoader; import hep.dataforge.storage.api.Storage; import hep.dataforge.storage.commons.LoaderFactory; +import hep.dataforge.tables.TableTableFormatBuilder; import hep.dataforge.values.Value; import java.time.Duration; import java.time.Instant; diff --git a/numass-control/msp/src/main/java/inr/numass/control/msp/MspDevice.java b/numass-control/msp/src/main/java/inr/numass/control/msp/MspDevice.java index 0c851a41..6c937c57 100644 --- a/numass-control/msp/src/main/java/inr/numass/control/msp/MspDevice.java +++ b/numass-control/msp/src/main/java/inr/numass/control/msp/MspDevice.java @@ -23,18 +23,18 @@ import hep.dataforge.control.measurements.AbstractMeasurement; import hep.dataforge.control.measurements.Measurement; import hep.dataforge.control.ports.PortHandler; import hep.dataforge.control.ports.TcpPortHandler; -import hep.dataforge.tables.DataPoint; -import hep.dataforge.tables.MapPoint; import hep.dataforge.exceptions.ControlException; import hep.dataforge.exceptions.MeasurementException; import hep.dataforge.exceptions.PortException; import hep.dataforge.exceptions.StorageException; import hep.dataforge.meta.Meta; -import hep.dataforge.tables.TableFormat; -import hep.dataforge.tables.TableFormatBuilder; import hep.dataforge.storage.api.PointLoader; import hep.dataforge.storage.api.Storage; import hep.dataforge.storage.commons.LoaderFactory; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.MapPoint; +import hep.dataforge.tables.TableFormat; +import hep.dataforge.tables.TableFormatBuilder; import hep.dataforge.values.Value; import java.time.Instant; import java.util.ArrayList; diff --git a/numass-control/msp/src/main/java/inr/numass/control/msp/fx/MspViewController.java b/numass-control/msp/src/main/java/inr/numass/control/msp/fx/MspViewController.java index b8c0b37f..b5eade85 100644 --- a/numass-control/msp/src/main/java/inr/numass/control/msp/fx/MspViewController.java +++ b/numass-control/msp/src/main/java/inr/numass/control/msp/fx/MspViewController.java @@ -19,7 +19,6 @@ import hep.dataforge.context.Context; import hep.dataforge.context.GlobalContext; import hep.dataforge.control.connections.Roles; import hep.dataforge.control.connections.StorageConnection; -import hep.dataforge.tables.MapPoint; import hep.dataforge.exceptions.ControlException; import hep.dataforge.exceptions.PortException; import hep.dataforge.exceptions.StorageException; @@ -35,7 +34,9 @@ import hep.dataforge.plots.fx.PlotContainer; import hep.dataforge.plots.jfreechart.JFreeChartFrame; import hep.dataforge.storage.api.Storage; import hep.dataforge.storage.commons.StorageManager; +import hep.dataforge.tables.MapPoint; import hep.dataforge.values.Value; +import inr.numass.client.NumassClient; import inr.numass.control.msp.MspDevice; import inr.numass.control.msp.MspListener; import java.io.File; @@ -47,6 +48,7 @@ import java.util.List; import java.util.Map; import java.util.ResourceBundle; import javafx.application.Platform; +import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import javafx.event.ActionEvent; import javafx.fxml.FXML; @@ -54,7 +56,6 @@ import javafx.fxml.Initializable; import javafx.scene.control.Alert; import javafx.scene.control.ComboBox; import javafx.scene.control.Slider; -import javafx.scene.control.TextArea; import javafx.scene.control.ToggleButton; import javafx.scene.input.DragEvent; import javafx.scene.layout.AnchorPane; @@ -64,8 +65,6 @@ import javafx.stage.DirectoryChooser; import javafx.util.StringConverter; import org.controlsfx.control.ToggleSwitch; import org.slf4j.LoggerFactory; -import inr.numass.client.NumassClient; -import javafx.beans.value.ObservableValue; /** * FXML Controller class diff --git a/numass-control/vac/src/main/java/inr/numass/readvac/VACDeviceReader.java b/numass-control/vac/src/main/java/inr/numass/readvac/VACDeviceReader.java index 561651c9..1094d1ac 100644 --- a/numass-control/vac/src/main/java/inr/numass/readvac/VACDeviceReader.java +++ b/numass-control/vac/src/main/java/inr/numass/readvac/VACDeviceReader.java @@ -15,9 +15,9 @@ */ package inr.numass.readvac; +import hep.dataforge.meta.Meta; import hep.dataforge.tables.DataPoint; import hep.dataforge.tables.MapPoint; -import hep.dataforge.meta.Meta; import hep.dataforge.values.Value; import java.math.BigDecimal; import java.math.RoundingMode; diff --git a/numass-control/vac/src/main/java/inr/numass/readvac/VACFileReader.java b/numass-control/vac/src/main/java/inr/numass/readvac/VACFileReader.java index cacfd4b4..5b1cd735 100644 --- a/numass-control/vac/src/main/java/inr/numass/readvac/VACFileReader.java +++ b/numass-control/vac/src/main/java/inr/numass/readvac/VACFileReader.java @@ -15,9 +15,10 @@ */ package inr.numass.readvac; +import hep.dataforge.io.LineIterator; import hep.dataforge.tables.DataPoint; import hep.dataforge.tables.MapPoint; -import hep.dataforge.io.LineIterator; +import hep.dataforge.tables.PointParser; import java.io.File; import java.io.FileNotFoundException; import java.time.Instant; @@ -30,7 +31,6 @@ import java.util.Iterator; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; -import hep.dataforge.tables.PointParser; /** * diff --git a/numass-control/vac/src/main/java/inr/numass/readvac/VACFrame.java b/numass-control/vac/src/main/java/inr/numass/readvac/VACFrame.java index 4dbe47c7..1f102faa 100644 --- a/numass-control/vac/src/main/java/inr/numass/readvac/VACFrame.java +++ b/numass-control/vac/src/main/java/inr/numass/readvac/VACFrame.java @@ -21,13 +21,13 @@ import ch.qos.logback.core.AppenderBase; import ch.qos.logback.core.encoder.EchoEncoder; import ch.qos.logback.core.encoder.Encoder; import hep.dataforge.context.GlobalContext; -import hep.dataforge.tables.DataPoint; import hep.dataforge.io.BasicIOManager; import hep.dataforge.meta.Meta; import hep.dataforge.meta.MetaBuilder; import hep.dataforge.plots.data.DynamicPlottable; import hep.dataforge.plots.data.DynamicPlottableSet; import hep.dataforge.plots.jfreechart.JFreeChartFrame; +import hep.dataforge.tables.DataPoint; import hep.dataforge.values.Value; import hep.dataforge.values.ValueType; import java.awt.Dimension; diff --git a/numass-control/vac/src/main/java/inr/numass/readvac/VACManager.java b/numass-control/vac/src/main/java/inr/numass/readvac/VACManager.java index 8d6adb40..59cbdf4b 100644 --- a/numass-control/vac/src/main/java/inr/numass/readvac/VACManager.java +++ b/numass-control/vac/src/main/java/inr/numass/readvac/VACManager.java @@ -15,13 +15,13 @@ */ package inr.numass.readvac; -import hep.dataforge.tables.TableFormatBuilder; -import hep.dataforge.tables.DataPoint; import hep.dataforge.exceptions.StorageException; import hep.dataforge.meta.Meta; import hep.dataforge.storage.api.PointLoader; import hep.dataforge.storage.api.Storage; import hep.dataforge.storage.commons.LoaderFactory; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.TableFormatBuilder; import hep.dataforge.values.ValueType; import java.time.Instant; import java.util.Iterator; diff --git a/numass-control/vac/src/main/java/inr/numass/readvac/app/ReadVac.java b/numass-control/vac/src/main/java/inr/numass/readvac/app/ReadVac.java index 1affe01d..062979b8 100644 --- a/numass-control/vac/src/main/java/inr/numass/readvac/app/ReadVac.java +++ b/numass-control/vac/src/main/java/inr/numass/readvac/app/ReadVac.java @@ -9,10 +9,10 @@ import hep.dataforge.control.measurements.Sensor; import hep.dataforge.exceptions.StorageException; import hep.dataforge.io.MetaFileReader; import hep.dataforge.meta.Meta; -import hep.dataforge.tables.TableFormatBuilder; import hep.dataforge.storage.api.PointLoader; import hep.dataforge.storage.api.Storage; import hep.dataforge.storage.commons.LoaderFactory; +import hep.dataforge.tables.TableFormatBuilder; import hep.dataforge.values.ValueType; import inr.numass.client.NumassClient; import inr.numass.readvac.devices.CM32Device; diff --git a/numass-control/vac/src/main/java/inr/numass/readvac/app/TestVac.java b/numass-control/vac/src/main/java/inr/numass/readvac/app/TestVac.java index ac361afc..e82f8117 100644 --- a/numass-control/vac/src/main/java/inr/numass/readvac/app/TestVac.java +++ b/numass-control/vac/src/main/java/inr/numass/readvac/app/TestVac.java @@ -7,7 +7,6 @@ package inr.numass.readvac.app; import hep.dataforge.control.measurements.Sensor; import hep.dataforge.control.virtual.Virtual; -import hep.dataforge.meta.MetaBuilder; import inr.numass.readvac.devices.VacCollectorDevice; import inr.numass.readvac.fx.VacCollectorController; import java.time.Duration; diff --git a/numass-control/vac/src/main/java/inr/numass/readvac/devices/VacCollectorDevice.java b/numass-control/vac/src/main/java/inr/numass/readvac/devices/VacCollectorDevice.java index deae507c..058c5046 100644 --- a/numass-control/vac/src/main/java/inr/numass/readvac/devices/VacCollectorDevice.java +++ b/numass-control/vac/src/main/java/inr/numass/readvac/devices/VacCollectorDevice.java @@ -12,9 +12,9 @@ import hep.dataforge.control.devices.annotations.RoleDef; import hep.dataforge.control.measurements.AbstractMeasurement; import hep.dataforge.control.measurements.Measurement; import hep.dataforge.control.measurements.Sensor; -import hep.dataforge.tables.DataPoint; import hep.dataforge.exceptions.ControlException; import hep.dataforge.exceptions.MeasurementException; +import hep.dataforge.tables.DataPoint; import hep.dataforge.tables.MapPoint; import hep.dataforge.tables.PointListener; import hep.dataforge.values.Value; diff --git a/numass-control/vac/src/main/java/inr/numass/readvac/fx/VacCollectorController.java b/numass-control/vac/src/main/java/inr/numass/readvac/fx/VacCollectorController.java index 01378ea4..a70ff653 100644 --- a/numass-control/vac/src/main/java/inr/numass/readvac/fx/VacCollectorController.java +++ b/numass-control/vac/src/main/java/inr/numass/readvac/fx/VacCollectorController.java @@ -12,7 +12,6 @@ import hep.dataforge.control.devices.DeviceListener; import hep.dataforge.control.measurements.Measurement; import hep.dataforge.control.measurements.MeasurementListener; import hep.dataforge.control.measurements.Sensor; -import hep.dataforge.tables.DataPoint; import hep.dataforge.exceptions.ControlException; import hep.dataforge.exceptions.MeasurementException; import hep.dataforge.fx.ConsoleFragment; @@ -23,11 +22,12 @@ import hep.dataforge.plots.data.DynamicPlottable; import hep.dataforge.plots.data.DynamicPlottableSet; import hep.dataforge.plots.fx.PlotContainer; import hep.dataforge.plots.jfreechart.JFreeChartFrame; -import hep.dataforge.tables.TableFormatBuilder; import hep.dataforge.storage.api.PointLoader; import hep.dataforge.storage.api.Storage; import hep.dataforge.storage.commons.LoaderFactory; import hep.dataforge.storage.commons.StorageManager; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.TableFormatBuilder; import hep.dataforge.values.Value; import hep.dataforge.values.ValueType; import inr.numass.readvac.devices.VacCollectorDevice; diff --git a/numass-control/vac/src/main/java/inr/numass/readvac/fx/VacuumeterView.java b/numass-control/vac/src/main/java/inr/numass/readvac/fx/VacuumeterView.java index 0630533f..fb4e0003 100644 --- a/numass-control/vac/src/main/java/inr/numass/readvac/fx/VacuumeterView.java +++ b/numass-control/vac/src/main/java/inr/numass/readvac/fx/VacuumeterView.java @@ -5,13 +5,13 @@ */ package inr.numass.readvac.fx; -import hep.dataforge.names.Named; import hep.dataforge.control.connections.DeviceViewController; import hep.dataforge.control.devices.Device; import hep.dataforge.control.measurements.Measurement; import hep.dataforge.control.measurements.MeasurementListener; import hep.dataforge.meta.Annotated; import hep.dataforge.meta.Meta; +import hep.dataforge.names.Named; import hep.dataforge.values.Value; import java.io.IOException; import java.net.URL; @@ -22,7 +22,6 @@ import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.util.ResourceBundle; import javafx.application.Platform; -import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; diff --git a/numass-main/src/main/java/hep/dataforge/plotfit/PlotFitResultAction.java b/numass-main/src/main/java/hep/dataforge/plotfit/PlotFitResultAction.java index 9c3ad420..bf59a4e2 100644 --- a/numass-main/src/main/java/hep/dataforge/plotfit/PlotFitResultAction.java +++ b/numass-main/src/main/java/hep/dataforge/plotfit/PlotFitResultAction.java @@ -17,23 +17,21 @@ package hep.dataforge.plotfit; import hep.dataforge.actions.OneToOneAction; import hep.dataforge.context.Context; -import hep.dataforge.tables.XYAdapter; import hep.dataforge.datafitter.FitState; import hep.dataforge.datafitter.models.XYModel; import hep.dataforge.description.NodeDef; import hep.dataforge.description.TypedActionDef; import hep.dataforge.description.ValueDef; import hep.dataforge.exceptions.ContentException; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Laminate; -import hep.dataforge.meta.Meta; import hep.dataforge.plots.PlotsPlugin; import hep.dataforge.plots.XYPlotFrame; import hep.dataforge.plots.data.PlottableData; import hep.dataforge.plots.data.PlottableFunction; -import org.apache.commons.math3.analysis.UnivariateFunction; import hep.dataforge.tables.PointSource; -import hep.dataforge.tables.Table; -import hep.dataforge.io.reports.Reportable; +import hep.dataforge.tables.XYAdapter; +import org.apache.commons.math3.analysis.UnivariateFunction; /** * diff --git a/numass-main/src/main/java/inr/numass/Main.java b/numass-main/src/main/java/inr/numass/Main.java index d0072c72..dda4df92 100644 --- a/numass-main/src/main/java/inr/numass/Main.java +++ b/numass-main/src/main/java/inr/numass/Main.java @@ -27,6 +27,7 @@ import static inr.numass.NumassContext.printDescription; import java.io.File; import java.io.FileNotFoundException; import java.util.Locale; +import static java.util.Locale.setDefault; import javax.swing.JFileChooser; import javax.swing.JFrame; import javax.swing.filechooser.FileFilter; @@ -39,22 +40,6 @@ import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; /** * diff --git a/numass-main/src/main/java/inr/numass/NumassPlugin.java b/numass-main/src/main/java/inr/numass/NumassPlugin.java index 89b81ebf..4ce535a3 100644 --- a/numass-main/src/main/java/inr/numass/NumassPlugin.java +++ b/numass-main/src/main/java/inr/numass/NumassPlugin.java @@ -19,7 +19,6 @@ import hep.dataforge.actions.ActionManager; import hep.dataforge.context.BasicPlugin; import hep.dataforge.context.Context; import hep.dataforge.context.PluginDef; -import hep.dataforge.tables.XYAdapter; import hep.dataforge.datafitter.FitManager; import hep.dataforge.datafitter.FitPlugin; import hep.dataforge.datafitter.models.ModelManager; @@ -28,6 +27,8 @@ import hep.dataforge.datafitter.models.XYModel; import hep.dataforge.meta.Meta; import hep.dataforge.plotfit.PlotFitResultAction; import hep.dataforge.plots.PlotDataAction; +import hep.dataforge.tables.PointAdapter; +import hep.dataforge.tables.XYAdapter; import inr.numass.actions.AdjustErrorsAction; import inr.numass.actions.FindBorderAction; import inr.numass.actions.MergeDataAction; @@ -52,7 +53,6 @@ import inr.numass.models.TransmissionInterpolator; import inr.numass.models.VariableLossSpectrum; import org.apache.commons.math3.analysis.BivariateFunction; import org.apache.commons.math3.analysis.UnivariateFunction; -import hep.dataforge.tables.PointAdapter; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/AdjustErrorsAction.java b/numass-main/src/main/java/inr/numass/actions/AdjustErrorsAction.java index 78a83353..c71540db 100644 --- a/numass-main/src/main/java/inr/numass/actions/AdjustErrorsAction.java +++ b/numass-main/src/main/java/inr/numass/actions/AdjustErrorsAction.java @@ -7,17 +7,16 @@ package inr.numass.actions; import hep.dataforge.actions.OneToOneAction; import hep.dataforge.context.Context; +import hep.dataforge.description.TypedActionDef; +import hep.dataforge.io.reports.Reportable; +import hep.dataforge.meta.Laminate; +import hep.dataforge.meta.Meta; import hep.dataforge.tables.DataPoint; import hep.dataforge.tables.ListTable; import hep.dataforge.tables.MapPoint; -import hep.dataforge.description.TypedActionDef; -import hep.dataforge.meta.Laminate; -import hep.dataforge.meta.Meta; +import hep.dataforge.tables.Table; import java.util.ArrayList; import java.util.List; -import hep.dataforge.tables.PointSource; -import hep.dataforge.tables.Table; -import hep.dataforge.io.reports.Reportable; /** * Adjust errors for all numass points in the dataset diff --git a/numass-main/src/main/java/inr/numass/actions/DebunchAction.java b/numass-main/src/main/java/inr/numass/actions/DebunchAction.java index 11e36b37..e07cada0 100644 --- a/numass-main/src/main/java/inr/numass/actions/DebunchAction.java +++ b/numass-main/src/main/java/inr/numass/actions/DebunchAction.java @@ -20,13 +20,13 @@ import hep.dataforge.context.Context; import hep.dataforge.description.TypedActionDef; import hep.dataforge.description.ValueDef; import hep.dataforge.exceptions.ContentException; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Laminate; import inr.numass.data.RawNMFile; import inr.numass.data.RawNMPoint; import inr.numass.debunch.DebunchReport; import inr.numass.debunch.FrameAnalizer; import java.io.PrintWriter; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/FindBorderAction.java b/numass-main/src/main/java/inr/numass/actions/FindBorderAction.java index 2e2b3e29..a51ed141 100644 --- a/numass-main/src/main/java/inr/numass/actions/FindBorderAction.java +++ b/numass-main/src/main/java/inr/numass/actions/FindBorderAction.java @@ -20,12 +20,11 @@ import hep.dataforge.context.Context; import hep.dataforge.description.TypedActionDef; import hep.dataforge.exceptions.ContentException; import hep.dataforge.io.ColumnedDataWriter; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Laminate; -import hep.dataforge.meta.Meta; import inr.numass.data.NMFile; import inr.numass.data.NMPoint; import java.io.OutputStream; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/MergeDataAction.java b/numass-main/src/main/java/inr/numass/actions/MergeDataAction.java index 16f92655..de16e111 100644 --- a/numass-main/src/main/java/inr/numass/actions/MergeDataAction.java +++ b/numass-main/src/main/java/inr/numass/actions/MergeDataAction.java @@ -22,20 +22,20 @@ import hep.dataforge.data.DataNode; import hep.dataforge.description.NodeDef; import hep.dataforge.description.TypedActionDef; import hep.dataforge.io.ColumnedDataWriter; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Meta; import hep.dataforge.meta.MetaBuilder; import hep.dataforge.tables.DataPoint; import hep.dataforge.tables.ListTable; import hep.dataforge.tables.MapPoint; import hep.dataforge.tables.PointSource; +import hep.dataforge.tables.Table; import java.io.OutputStream; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import hep.dataforge.tables.Table; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/MonitorCorrectAction.java b/numass-main/src/main/java/inr/numass/actions/MonitorCorrectAction.java index 3111a1f7..2ad78f69 100644 --- a/numass-main/src/main/java/inr/numass/actions/MonitorCorrectAction.java +++ b/numass-main/src/main/java/inr/numass/actions/MonitorCorrectAction.java @@ -17,15 +17,17 @@ package inr.numass.actions; import hep.dataforge.actions.OneToOneAction; import hep.dataforge.context.Context; -import hep.dataforge.tables.DataPoint; -import hep.dataforge.tables.ListTable; -import hep.dataforge.tables.MapPoint; import hep.dataforge.description.TypedActionDef; import hep.dataforge.description.ValueDef; import hep.dataforge.exceptions.ContentException; import hep.dataforge.io.ColumnedDataWriter; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Laminate; import hep.dataforge.meta.Meta; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.ListTable; +import hep.dataforge.tables.MapPoint; +import hep.dataforge.tables.Table; import hep.dataforge.values.Value; import java.io.OutputStream; import java.time.LocalDateTime; @@ -35,9 +37,6 @@ import java.util.List; import java.util.Map.Entry; import java.util.TreeMap; import java.util.concurrent.CopyOnWriteArrayList; -import hep.dataforge.tables.PointSource; -import hep.dataforge.tables.Table; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/PrepareDataAction.java b/numass-main/src/main/java/inr/numass/actions/PrepareDataAction.java index 06d7fdb8..72518560 100644 --- a/numass-main/src/main/java/inr/numass/actions/PrepareDataAction.java +++ b/numass-main/src/main/java/inr/numass/actions/PrepareDataAction.java @@ -17,17 +17,19 @@ package inr.numass.actions; import hep.dataforge.actions.OneToOneAction; import hep.dataforge.context.Context; -import hep.dataforge.tables.TableFormat; -import hep.dataforge.tables.DataPoint; -import hep.dataforge.tables.ListTable; -import hep.dataforge.tables.MapPoint; import hep.dataforge.description.TypedActionDef; import hep.dataforge.description.ValueDef; import hep.dataforge.exceptions.ContentException; import hep.dataforge.io.ColumnedDataWriter; import hep.dataforge.io.XMLMetaWriter; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Laminate; import hep.dataforge.meta.Meta; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.ListTable; +import hep.dataforge.tables.MapPoint; +import hep.dataforge.tables.Table; +import hep.dataforge.tables.TableFormat; import inr.numass.data.NMFile; import inr.numass.data.NMPoint; import inr.numass.data.RawNMPoint; @@ -35,8 +37,6 @@ import java.io.OutputStream; import java.time.Instant; import java.util.ArrayList; import java.util.List; -import hep.dataforge.tables.Table; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/ReadNumassDataAction.java b/numass-main/src/main/java/inr/numass/actions/ReadNumassDataAction.java index 868ec48c..0e5847b5 100644 --- a/numass-main/src/main/java/inr/numass/actions/ReadNumassDataAction.java +++ b/numass-main/src/main/java/inr/numass/actions/ReadNumassDataAction.java @@ -22,12 +22,11 @@ import hep.dataforge.description.NodeDef; import hep.dataforge.description.TypedActionDef; import hep.dataforge.description.ValueDef; import hep.dataforge.exceptions.ContentException; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Laminate; import static inr.numass.NumassIO.getNumassData; import inr.numass.data.NMFile; import inr.numass.data.RawNMFile; -import java.io.File; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/ShowLossSpectrumAction.java b/numass-main/src/main/java/inr/numass/actions/ShowLossSpectrumAction.java index 15eeca50..38a1ab30 100644 --- a/numass-main/src/main/java/inr/numass/actions/ShowLossSpectrumAction.java +++ b/numass-main/src/main/java/inr/numass/actions/ShowLossSpectrumAction.java @@ -17,9 +17,6 @@ package inr.numass.actions; import hep.dataforge.actions.OneToOneAction; import hep.dataforge.context.Context; -import hep.dataforge.tables.ListTable; -import hep.dataforge.tables.MapPoint; -import hep.dataforge.tables.XYAdapter; import hep.dataforge.datafitter.FitState; import hep.dataforge.datafitter.FitTaskResult; import hep.dataforge.datafitter.Param; @@ -28,6 +25,7 @@ import hep.dataforge.datafitter.models.Histogram; import hep.dataforge.description.TypedActionDef; import hep.dataforge.io.ColumnedDataWriter; import hep.dataforge.io.PrintFunction; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.maths.GridCalculator; import hep.dataforge.maths.NamedDoubleSet; import hep.dataforge.maths.NamedMatrix; @@ -39,6 +37,10 @@ import hep.dataforge.plots.XYPlotFrame; import hep.dataforge.plots.data.PlottableData; import hep.dataforge.plots.data.PlottableFunction; import hep.dataforge.simulation.GaussianParameterGenerator; +import hep.dataforge.tables.ListTable; +import hep.dataforge.tables.MapPoint; +import hep.dataforge.tables.Table; +import hep.dataforge.tables.XYAdapter; import inr.numass.NumassContext; import inr.numass.models.ExperimentalVariableLossSpectrum; import inr.numass.models.LossCalculator; @@ -52,8 +54,6 @@ import org.apache.commons.math3.analysis.interpolation.UnivariateInterpolator; import org.apache.commons.math3.stat.StatUtils; import org.apache.commons.math3.stat.descriptive.DescriptiveStatistics; import org.slf4j.LoggerFactory; -import hep.dataforge.tables.Table; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/ShowSpectrumAction.java b/numass-main/src/main/java/inr/numass/actions/ShowSpectrumAction.java index 82e2c9e7..df9724fc 100644 --- a/numass-main/src/main/java/inr/numass/actions/ShowSpectrumAction.java +++ b/numass-main/src/main/java/inr/numass/actions/ShowSpectrumAction.java @@ -20,6 +20,7 @@ import hep.dataforge.context.Context; import hep.dataforge.description.TypedActionDef; import hep.dataforge.exceptions.ContentException; import hep.dataforge.io.ColumnedDataWriter; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Laminate; import hep.dataforge.meta.Meta; import hep.dataforge.plots.fx.FXPlotUtils; @@ -37,7 +38,6 @@ import org.jfree.chart.renderer.xy.XYLineAndShapeRenderer; import org.jfree.data.xy.XYSeries; import org.jfree.data.xy.XYSeriesCollection; import org.jfree.ui.RectangleEdge; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/SlicedData.java b/numass-main/src/main/java/inr/numass/actions/SlicedData.java index 5fa7435f..695746aa 100644 --- a/numass-main/src/main/java/inr/numass/actions/SlicedData.java +++ b/numass-main/src/main/java/inr/numass/actions/SlicedData.java @@ -15,10 +15,9 @@ */ package inr.numass.actions; -import hep.dataforge.tables.TableFormat; -import hep.dataforge.tables.ListTable; import hep.dataforge.tables.MapPoint; import hep.dataforge.tables.SimplePointSource; +import hep.dataforge.tables.TableFormat; import hep.dataforge.values.Value; import inr.numass.data.NMFile; import inr.numass.data.NMPoint; diff --git a/numass-main/src/main/java/inr/numass/actions/SlicingAction.java b/numass-main/src/main/java/inr/numass/actions/SlicingAction.java index 2ae38e87..7a14425d 100644 --- a/numass-main/src/main/java/inr/numass/actions/SlicingAction.java +++ b/numass-main/src/main/java/inr/numass/actions/SlicingAction.java @@ -20,6 +20,7 @@ import hep.dataforge.context.Context; import hep.dataforge.description.TypedActionDef; import hep.dataforge.exceptions.ContentException; import hep.dataforge.io.ColumnedDataWriter; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Laminate; import hep.dataforge.meta.Meta; import inr.numass.data.NMFile; @@ -29,7 +30,6 @@ import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.commons.math3.util.Pair; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/actions/SummaryAction.java b/numass-main/src/main/java/inr/numass/actions/SummaryAction.java index 33e10f7b..7fa1c9b5 100644 --- a/numass-main/src/main/java/inr/numass/actions/SummaryAction.java +++ b/numass-main/src/main/java/inr/numass/actions/SummaryAction.java @@ -15,25 +15,25 @@ */ package inr.numass.actions; -import hep.dataforge.actions.ManyToOneAction; import hep.dataforge.actions.GroupBuilder; +import hep.dataforge.actions.ManyToOneAction; import hep.dataforge.context.Context; import hep.dataforge.data.DataNode; -import hep.dataforge.tables.TableFormat; -import hep.dataforge.tables.DataPoint; -import hep.dataforge.tables.ListTable; -import hep.dataforge.tables.MapPoint; import hep.dataforge.datafitter.FitState; import hep.dataforge.description.TypedActionDef; import hep.dataforge.io.ColumnedDataWriter; +import hep.dataforge.io.reports.Reportable; import hep.dataforge.meta.Meta; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.ListTable; +import hep.dataforge.tables.MapPoint; +import hep.dataforge.tables.Table; +import hep.dataforge.tables.TableFormat; import hep.dataforge.values.Value; import java.io.OutputStream; import java.util.Arrays; import java.util.List; import java.util.Map; -import hep.dataforge.tables.Table; -import hep.dataforge.io.reports.Reportable; /** * diff --git a/numass-main/src/main/java/inr/numass/data/ESpectrum.java b/numass-main/src/main/java/inr/numass/data/ESpectrum.java index c3ab3d2c..17da5bcb 100644 --- a/numass-main/src/main/java/inr/numass/data/ESpectrum.java +++ b/numass-main/src/main/java/inr/numass/data/ESpectrum.java @@ -15,20 +15,19 @@ */ package inr.numass.data; -import hep.dataforge.tables.TableFormat; -import hep.dataforge.tables.ListTable; -import hep.dataforge.tables.MapPoint; import hep.dataforge.io.ColumnedDataWriter; +import hep.dataforge.tables.MapPoint; import hep.dataforge.tables.SimplePointSource; +import hep.dataforge.tables.TableFormat; import hep.dataforge.tables.TableFormatBuilder; import hep.dataforge.values.Value; import hep.dataforge.values.ValueType; import java.io.OutputStream; +import static java.lang.String.format; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -import static java.lang.String.format; /** * diff --git a/numass-main/src/main/java/inr/numass/data/NMFile.java b/numass-main/src/main/java/inr/numass/data/NMFile.java index 5b49e797..8e174046 100644 --- a/numass-main/src/main/java/inr/numass/data/NMFile.java +++ b/numass-main/src/main/java/inr/numass/data/NMFile.java @@ -15,10 +15,10 @@ */ package inr.numass.data; -import hep.dataforge.names.NamedMetaHolder; import hep.dataforge.description.ValueDef; import hep.dataforge.meta.Meta; import hep.dataforge.meta.MetaBuilder; +import hep.dataforge.names.NamedMetaHolder; import java.io.File; import java.io.IOException; import java.io.InputStream; diff --git a/numass-main/src/main/java/inr/numass/data/NMPoint.java b/numass-main/src/main/java/inr/numass/data/NMPoint.java index 7e5f527e..2e8e5334 100644 --- a/numass-main/src/main/java/inr/numass/data/NMPoint.java +++ b/numass-main/src/main/java/inr/numass/data/NMPoint.java @@ -20,10 +20,10 @@ import hep.dataforge.tables.MapPoint; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; +import static java.util.Arrays.sort; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import static java.util.Arrays.sort; /** * diff --git a/numass-main/src/main/java/inr/numass/data/NumassData.java b/numass-main/src/main/java/inr/numass/data/NumassData.java index 3bd85294..b160f547 100644 --- a/numass-main/src/main/java/inr/numass/data/NumassData.java +++ b/numass-main/src/main/java/inr/numass/data/NumassData.java @@ -5,8 +5,8 @@ */ package inr.numass.data; -import hep.dataforge.names.Named; import hep.dataforge.meta.Meta; +import hep.dataforge.names.Named; import java.time.Instant; import java.util.List; diff --git a/numass-main/src/main/java/inr/numass/data/NumassPawReader.java b/numass-main/src/main/java/inr/numass/data/NumassPawReader.java index 27377126..c7b7812f 100644 --- a/numass-main/src/main/java/inr/numass/data/NumassPawReader.java +++ b/numass-main/src/main/java/inr/numass/data/NumassPawReader.java @@ -16,7 +16,6 @@ package inr.numass.data; import hep.dataforge.data.binary.Binary; -import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; diff --git a/numass-main/src/main/java/inr/numass/data/SpectrumGenerator.java b/numass-main/src/main/java/inr/numass/data/SpectrumGenerator.java index 711b421b..cd2ee477 100644 --- a/numass-main/src/main/java/inr/numass/data/SpectrumGenerator.java +++ b/numass-main/src/main/java/inr/numass/data/SpectrumGenerator.java @@ -22,12 +22,12 @@ import static hep.dataforge.maths.RandomUtils.getDefaultRandomGenerator; import hep.dataforge.tables.DataPoint; import hep.dataforge.tables.ListTable; import hep.dataforge.tables.Table; +import static java.lang.Double.isNaN; import static java.lang.Math.sqrt; import java.util.Iterator; import org.apache.commons.math3.random.JDKRandomGenerator; import org.apache.commons.math3.random.RandomDataGenerator; import org.apache.commons.math3.random.RandomGenerator; -import static java.lang.Double.isNaN; /** * Генератор наборов данных для спектров. На входе требуется набор данных, diff --git a/numass-main/src/main/java/inr/numass/data/SpectrumInformation.java b/numass-main/src/main/java/inr/numass/data/SpectrumInformation.java index 75262f85..fa98e0ef 100644 --- a/numass-main/src/main/java/inr/numass/data/SpectrumInformation.java +++ b/numass-main/src/main/java/inr/numass/data/SpectrumInformation.java @@ -15,12 +15,12 @@ */ package inr.numass.data; -import hep.dataforge.tables.DataPoint; -import hep.dataforge.tables.ListTable; import hep.dataforge.functions.ParametricFunction; import static hep.dataforge.maths.MatrixOperations.inverse; import hep.dataforge.maths.NamedDoubleSet; import hep.dataforge.maths.NamedMatrix; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.ListTable; import inr.numass.utils.TritiumUtils; import org.apache.commons.math3.analysis.UnivariateFunction; import org.apache.commons.math3.linear.Array2DRowRealMatrix; diff --git a/numass-main/src/main/java/inr/numass/models/FSS.java b/numass-main/src/main/java/inr/numass/models/FSS.java index 1ef03a2c..ca8526fb 100644 --- a/numass-main/src/main/java/inr/numass/models/FSS.java +++ b/numass-main/src/main/java/inr/numass/models/FSS.java @@ -15,14 +15,13 @@ */ package inr.numass.models; -import hep.dataforge.tables.DataPoint; import hep.dataforge.io.IOUtils; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.PointSource; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import org.apache.commons.math3.util.Pair; -import hep.dataforge.tables.PointSource; -import hep.dataforge.tables.Table; /** * diff --git a/numass-main/src/main/java/inr/numass/models/GaussResolution.java b/numass-main/src/main/java/inr/numass/models/GaussResolution.java index e30babf3..5c3fd09c 100644 --- a/numass-main/src/main/java/inr/numass/models/GaussResolution.java +++ b/numass-main/src/main/java/inr/numass/models/GaussResolution.java @@ -28,8 +28,6 @@ import static java.lang.Math.sqrt; import org.apache.commons.math3.analysis.UnivariateFunction; import org.apache.commons.math3.analysis.integration.SimpsonIntegrator; import org.apache.commons.math3.analysis.integration.UnivariateIntegrator; -import static java.lang.Double.isNaN; -import static java.lang.Math.abs; /** * diff --git a/numass-main/src/main/java/inr/numass/models/Transmission.java b/numass-main/src/main/java/inr/numass/models/Transmission.java index 2954ff13..1a432f85 100644 --- a/numass-main/src/main/java/inr/numass/models/Transmission.java +++ b/numass-main/src/main/java/inr/numass/models/Transmission.java @@ -18,8 +18,8 @@ package inr.numass.models; import hep.dataforge.functions.ParametricFunction; import hep.dataforge.maths.NamedDoubleSet; -import org.apache.commons.math3.analysis.BivariateFunction; import hep.dataforge.names.NameSetContainer; +import org.apache.commons.math3.analysis.BivariateFunction; /** * diff --git a/numass-main/src/main/java/inr/numass/models/TransmissionInterpolator.java b/numass-main/src/main/java/inr/numass/models/TransmissionInterpolator.java index ba46c21a..c5d94113 100644 --- a/numass-main/src/main/java/inr/numass/models/TransmissionInterpolator.java +++ b/numass-main/src/main/java/inr/numass/models/TransmissionInterpolator.java @@ -22,13 +22,13 @@ import hep.dataforge.io.ColumnedDataReader; import hep.dataforge.meta.Meta; import hep.dataforge.tables.DataPoint; import hep.dataforge.tables.PointSource; +import hep.dataforge.tables.Table; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.List; import org.apache.commons.math3.analysis.UnivariateFunction; import org.apache.commons.math3.analysis.interpolation.LinearInterpolator; -import hep.dataforge.tables.Table; /** * diff --git a/numass-main/src/main/java/inr/numass/utils/OldDataReader.java b/numass-main/src/main/java/inr/numass/utils/OldDataReader.java index 7fff9385..4832623d 100644 --- a/numass-main/src/main/java/inr/numass/utils/OldDataReader.java +++ b/numass-main/src/main/java/inr/numass/utils/OldDataReader.java @@ -24,8 +24,8 @@ import inr.numass.data.SpectrumDataAdapter; import java.io.File; import java.io.FileNotFoundException; import java.util.Locale; -import java.util.Scanner; import static java.util.Locale.setDefault; +import java.util.Scanner; /** * diff --git a/numass-main/src/main/java/inr/numass/utils/TritiumUtils.java b/numass-main/src/main/java/inr/numass/utils/TritiumUtils.java index 7cef35fe..82c8ce35 100644 --- a/numass-main/src/main/java/inr/numass/utils/TritiumUtils.java +++ b/numass-main/src/main/java/inr/numass/utils/TritiumUtils.java @@ -19,10 +19,10 @@ import hep.dataforge.tables.DataPoint; import hep.dataforge.tables.ListTable; import hep.dataforge.tables.Table; import inr.numass.data.SpectrumDataAdapter; +import static java.lang.Math.abs; import static java.lang.Math.exp; import static java.lang.Math.sqrt; import org.apache.commons.math3.analysis.UnivariateFunction; -import static java.lang.Math.abs; /** * diff --git a/numass-main/src/main/java/inr/numass/workbench/StagePane.java b/numass-main/src/main/java/inr/numass/workbench/StagePane.java index c051bf4b..5908ba57 100644 --- a/numass-main/src/main/java/inr/numass/workbench/StagePane.java +++ b/numass-main/src/main/java/inr/numass/workbench/StagePane.java @@ -5,8 +5,8 @@ */ package inr.numass.workbench; -import hep.dataforge.names.Named; import hep.dataforge.meta.Meta; +import hep.dataforge.names.Named; import hep.dataforge.plots.PlotFrame; import java.util.HashMap; import java.util.Map; diff --git a/numass-main/src/test/java/inr/numass/run/NumassSpectrumTest.java b/numass-main/src/test/java/inr/numass/run/NumassSpectrumTest.java index bc618c88..206ae64b 100644 --- a/numass-main/src/test/java/inr/numass/run/NumassSpectrumTest.java +++ b/numass-main/src/test/java/inr/numass/run/NumassSpectrumTest.java @@ -24,21 +24,6 @@ import java.io.File; import java.io.FileNotFoundException; import java.util.Locale; import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; -import static java.util.Locale.setDefault; /** * diff --git a/numass-storage/numass-client/src/main/java/inr/numass/client/NumassClient.java b/numass-storage/numass-client/src/main/java/inr/numass/client/NumassClient.java index c2ff5cd8..fa3869ba 100644 --- a/numass-storage/numass-client/src/main/java/inr/numass/client/NumassClient.java +++ b/numass-storage/numass-client/src/main/java/inr/numass/client/NumassClient.java @@ -22,18 +22,14 @@ import hep.dataforge.io.envelopes.EnvelopeBuilder; import hep.dataforge.meta.Meta; import hep.dataforge.meta.MetaBuilder; import hep.dataforge.storage.commons.MessageFactory; -import hep.dataforge.storage.commons.StorageManager; import hep.dataforge.storage.commons.StorageUtils; import hep.dataforge.values.Value; import inr.numass.storage.NumassStorage; -import java.io.BufferedInputStream; -import java.io.BufferedReader; import java.io.Closeable; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; -import java.io.InputStreamReader; import java.io.OutputStream; import java.net.Socket; import java.nio.ByteBuffer; @@ -43,11 +39,6 @@ import java.time.Instant; import java.util.Arrays; import java.util.HashMap; import java.util.Map; -import org.apache.commons.cli.CommandLine; -import org.apache.commons.cli.CommandLineParser; -import org.apache.commons.cli.DefaultParser; -import org.apache.commons.cli.Options; -import org.apache.commons.cli.ParseException; import org.slf4j.LoggerFactory; import org.zeroturnaround.zip.ZipUtil; diff --git a/numass-storage/numass-server/src/main/java/inr/numass/server/NumassRun.java b/numass-storage/numass-server/src/main/java/inr/numass/server/NumassRun.java index 218b5c96..e13b318c 100644 --- a/numass-storage/numass-server/src/main/java/inr/numass/server/NumassRun.java +++ b/numass-storage/numass-server/src/main/java/inr/numass/server/NumassRun.java @@ -22,17 +22,17 @@ import hep.dataforge.io.envelopes.EnvelopeBuilder; import hep.dataforge.io.envelopes.Responder; import hep.dataforge.meta.Annotated; import hep.dataforge.meta.Meta; +import hep.dataforge.storage.api.ObjectLoader; import hep.dataforge.storage.api.StateLoader; import hep.dataforge.storage.commons.LoaderFactory; import hep.dataforge.storage.commons.MessageFactory; import hep.dataforge.values.Value; +import inr.numass.storage.NumassStorage; import java.io.IOException; import java.time.Instant; -import java.util.stream.Stream; -import hep.dataforge.storage.api.ObjectLoader; -import inr.numass.storage.NumassStorage; import java.util.Comparator; import java.util.function.Function; +import java.util.stream.Stream; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/numass-storage/src/main/java/inr/numass/storage/NumassDataLoader.java b/numass-storage/src/main/java/inr/numass/storage/NumassDataLoader.java index 5218e6c2..dd3d4b26 100644 --- a/numass-storage/src/main/java/inr/numass/storage/NumassDataLoader.java +++ b/numass-storage/src/main/java/inr/numass/storage/NumassDataLoader.java @@ -21,6 +21,7 @@ import hep.dataforge.io.envelopes.DefaultEnvelopeReader; import hep.dataforge.io.envelopes.Envelope; import hep.dataforge.meta.Meta; import hep.dataforge.meta.MetaBuilder; +import hep.dataforge.storage.api.ObjectLoader; import hep.dataforge.storage.api.Storage; import hep.dataforge.storage.loaders.AbstractLoader; import inr.numass.data.NMEvent; @@ -53,7 +54,6 @@ import static org.apache.commons.vfs2.FileType.FOLDER; import org.apache.commons.vfs2.VFS; import org.apache.commons.vfs2.provider.local.DefaultLocalFileProvider; import org.slf4j.LoggerFactory; -import hep.dataforge.storage.api.ObjectLoader; /** * The reader for numass main detector data directory or zip format; diff --git a/numass-viewer/src/main/java/inr/numass/viewer/MspViewController.java b/numass-viewer/src/main/java/inr/numass/viewer/MspViewController.java index 7acdc199..86d993a9 100644 --- a/numass-viewer/src/main/java/inr/numass/viewer/MspViewController.java +++ b/numass-viewer/src/main/java/inr/numass/viewer/MspViewController.java @@ -23,8 +23,6 @@ package inr.numass.viewer; import hep.dataforge.context.Context; import hep.dataforge.context.ProcessManager; import hep.dataforge.exceptions.StorageException; -import hep.dataforge.tables.DataPoint; -import hep.dataforge.tables.MapPoint; import hep.dataforge.plots.PlotUtils; import hep.dataforge.plots.data.DynamicPlottable; import hep.dataforge.plots.data.DynamicPlottableSet; @@ -32,6 +30,8 @@ import hep.dataforge.plots.fx.PlotContainer; import hep.dataforge.plots.jfreechart.JFreeChartFrame; import hep.dataforge.storage.api.PointLoader; import hep.dataforge.storage.api.Storage; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.MapPoint; import hep.dataforge.values.Value; import java.util.ArrayList; import java.util.List; diff --git a/numass-viewer/src/main/java/inr/numass/viewer/NumassLoaderViewComponent.java b/numass-viewer/src/main/java/inr/numass/viewer/NumassLoaderViewComponent.java index 6ddc8d80..b6f1d7c4 100644 --- a/numass-viewer/src/main/java/inr/numass/viewer/NumassLoaderViewComponent.java +++ b/numass-viewer/src/main/java/inr/numass/viewer/NumassLoaderViewComponent.java @@ -22,10 +22,6 @@ package inr.numass.viewer; */ import hep.dataforge.context.Context; import hep.dataforge.context.ProcessManager; -import hep.dataforge.tables.DataPoint; -import hep.dataforge.tables.ListTable; -import hep.dataforge.tables.MapPoint; -import hep.dataforge.tables.XYAdapter; import hep.dataforge.io.ColumnedDataWriter; import hep.dataforge.meta.Meta; import hep.dataforge.meta.MetaBuilder; @@ -36,6 +32,11 @@ import hep.dataforge.plots.data.PlotDataUtils; import hep.dataforge.plots.data.PlottableData; import hep.dataforge.plots.jfreechart.JFreeChartFrame; import hep.dataforge.storage.commons.JSONMetaWriter; +import hep.dataforge.tables.DataPoint; +import hep.dataforge.tables.ListTable; +import hep.dataforge.tables.MapPoint; +import hep.dataforge.tables.Table; +import hep.dataforge.tables.XYAdapter; import inr.numass.data.NMPoint; import inr.numass.data.NumassData; import java.io.File; @@ -73,7 +74,6 @@ import org.controlsfx.validation.ValidationSupport; import org.controlsfx.validation.Validator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import hep.dataforge.tables.Table; /** * FXML Controller class diff --git a/numass-viewer/src/main/java/inr/numass/viewer/Viewer.java b/numass-viewer/src/main/java/inr/numass/viewer/Viewer.java index 2a1f7557..e2941037 100644 --- a/numass-viewer/src/main/java/inr/numass/viewer/Viewer.java +++ b/numass-viewer/src/main/java/inr/numass/viewer/Viewer.java @@ -19,7 +19,6 @@ import hep.dataforge.exceptions.StorageException; import hep.dataforge.storage.commons.StorageManager; import java.io.IOException; import javafx.application.Application; -import javafx.concurrent.Task; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene;