From 679410055c4b5700fbbc2de33a7078e3bd41946a Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Fri, 13 Oct 2017 22:10:36 +0300 Subject: [PATCH] Minor fixes --- .../src/main/kotlin/inr/numass/viewer/NumassLoaderView.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/numass-viewer/src/main/kotlin/inr/numass/viewer/NumassLoaderView.kt b/numass-viewer/src/main/kotlin/inr/numass/viewer/NumassLoaderView.kt index 5c9a3104..adb38bf9 100644 --- a/numass-viewer/src/main/kotlin/inr/numass/viewer/NumassLoaderView.kt +++ b/numass-viewer/src/main/kotlin/inr/numass/viewer/NumassLoaderView.kt @@ -45,6 +45,7 @@ import java.util.concurrent.atomic.AtomicInteger import java.util.logging.Level import java.util.stream.Collectors +@Suppress("UNNECESSARY_LATEINIT") /** * Numass loader view * @@ -113,8 +114,8 @@ class NumassLoaderView : View() { private val detectorPlot: PlotContainer = PlotContainer(detectorPlotFrame); - private lateinit var spectrumPlot: PlotContainer; - private lateinit var hvPlot: PlotContainer; + private val spectrumPlot: PlotContainer; + private val hvPlot: PlotContainer; init { //setup detector pane plot and sidebar