diff --git a/src/main/java/sc/fiji/labkit/ui/ActionsAndBehaviours.java b/src/main/java/sc/fiji/labkit/ui/ActionsAndBehaviours.java index a69ccac8..b687c585 100644 --- a/src/main/java/sc/fiji/labkit/ui/ActionsAndBehaviours.java +++ b/src/main/java/sc/fiji/labkit/ui/ActionsAndBehaviours.java @@ -31,7 +31,6 @@ import bdv.util.BdvHandle; import org.scijava.ui.behaviour.Behaviour; -import org.scijava.ui.behaviour.InputTrigger; import org.scijava.ui.behaviour.io.InputTriggerConfig; import org.scijava.ui.behaviour.util.AbstractNamedAction; import org.scijava.ui.behaviour.util.Actions; diff --git a/src/main/java/sc/fiji/labkit/ui/brush/neighborhood/RealPoints.java b/src/main/java/sc/fiji/labkit/ui/brush/neighborhood/RealPoints.java index d6318aa8..04004a32 100644 --- a/src/main/java/sc/fiji/labkit/ui/brush/neighborhood/RealPoints.java +++ b/src/main/java/sc/fiji/labkit/ui/brush/neighborhood/RealPoints.java @@ -30,11 +30,6 @@ package sc.fiji.labkit.ui.brush.neighborhood; import net.imglib2.RealLocalizable; -import net.imglib2.RealPoint; -import net.imglib2.realtransform.AffineTransform3D; - -import java.util.List; -import java.util.stream.Collectors; public class RealPoints { diff --git a/src/main/java/sc/fiji/labkit/ui/utils/DimensionUtils.java b/src/main/java/sc/fiji/labkit/ui/utils/DimensionUtils.java index efc24b55..984a5895 100644 --- a/src/main/java/sc/fiji/labkit/ui/utils/DimensionUtils.java +++ b/src/main/java/sc/fiji/labkit/ui/utils/DimensionUtils.java @@ -34,7 +34,6 @@ import net.imglib2.RandomAccessibleInterval; import net.imglib2.util.Intervals; import net.imglib2.view.Views; -import org.apache.commons.lang3.ArrayUtils; import java.util.Arrays; import java.util.List; diff --git a/src/main/java/sc/fiji/labkit/ui/utils/LabkitUtils.java b/src/main/java/sc/fiji/labkit/ui/utils/LabkitUtils.java index f5060e99..226f5fe5 100644 --- a/src/main/java/sc/fiji/labkit/ui/utils/LabkitUtils.java +++ b/src/main/java/sc/fiji/labkit/ui/utils/LabkitUtils.java @@ -29,24 +29,12 @@ package sc.fiji.labkit.ui.utils; -import bdv.export.ProgressWriter; -import java.util.Collections; -import java.util.concurrent.CancellationException; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.Future; -import java.util.concurrent.atomic.AtomicBoolean; -import java.util.concurrent.atomic.AtomicLong; -import java.util.function.Consumer; -import net.imglib2.Cursor; + import net.imglib2.RandomAccessible; import net.imglib2.RandomAccessibleInterval; -import net.imglib2.cache.img.CachedCellImg; import net.imglib2.converter.Converters; import net.imglib2.img.Img; import net.imglib2.img.array.ArrayImgs; -import net.imglib2.parallel.Parallelization; -import net.imglib2.parallel.TaskExecutor; -import net.imglib2.type.NativeType; import net.imglib2.type.numeric.ARGBType; import net.imglib2.type.numeric.IntegerType; import net.imglib2.type.numeric.NumericType; @@ -60,12 +48,6 @@ import net.imglib2.util.ValuePair; import net.imglib2.view.Views; -import java.util.List; -import java.util.concurrent.Callable; -import java.util.concurrent.ExecutorService; -import java.util.stream.Collectors; -import java.util.stream.IntStream; - /* * @author Matthias Arzt */ diff --git a/src/main/java/sc/fiji/labkit/ui/utils/progress/ProgressDialog.java b/src/main/java/sc/fiji/labkit/ui/utils/progress/ProgressDialog.java index ce173398..200379c9 100644 --- a/src/main/java/sc/fiji/labkit/ui/utils/progress/ProgressDialog.java +++ b/src/main/java/sc/fiji/labkit/ui/utils/progress/ProgressDialog.java @@ -39,7 +39,6 @@ import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.beans.PropertyChangeEvent; -import java.time.Duration; /** * A dialog the shows a progress bar. diff --git a/src/main/java/sc/fiji/labkit/ui/utils/sparse/IntervalIndexer2.java b/src/main/java/sc/fiji/labkit/ui/utils/sparse/IntervalIndexer2.java index 3a212bc6..ce257537 100644 --- a/src/main/java/sc/fiji/labkit/ui/utils/sparse/IntervalIndexer2.java +++ b/src/main/java/sc/fiji/labkit/ui/utils/sparse/IntervalIndexer2.java @@ -34,7 +34,6 @@ import net.imglib2.Positionable; import net.imglib2.util.Intervals; -import java.util.stream.IntStream; import java.util.stream.LongStream; /**