From 6f541e7365772d34ac54d96999f664006dec0009 Mon Sep 17 00:00:00 2001 From: Tobias Pietzsch <tobias.pietzsch@gmail.com> Date: Sat, 11 Jul 2015 14:39:32 -0400 Subject: [PATCH] remove unused member variable --- src/main/java/bdv/viewer/render/AccumulateProjector.java | 8 -------- .../java/bdv/viewer/render/AccumulateProjectorARGB.java | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main/java/bdv/viewer/render/AccumulateProjector.java b/src/main/java/bdv/viewer/render/AccumulateProjector.java index 96b2e5ae..fea628c2 100644 --- a/src/main/java/bdv/viewer/render/AccumulateProjector.java +++ b/src/main/java/bdv/viewer/render/AccumulateProjector.java @@ -10,7 +10,6 @@ import net.imglib2.Cursor; import net.imglib2.IterableInterval; import net.imglib2.RandomAccessible; import net.imglib2.RandomAccessibleInterval; -import net.imglib2.converter.Converter; import net.imglib2.ui.InterruptibleProjector; import net.imglib2.ui.util.StopWatch; import net.imglib2.view.Views; @@ -21,11 +20,6 @@ public abstract class AccumulateProjector< A, B > implements VolatileProjector protected final ArrayList< IterableInterval< A > > sources; - /** - * A converter from the source pixel type to the target pixel type. - */ - protected final Converter< ? super A, B > converter; - /** * The target interval. Pixels of the target interval should be set by * {@link InterruptibleProjector#map()} @@ -57,7 +51,6 @@ public abstract class AccumulateProjector< A, B > implements VolatileProjector public AccumulateProjector( final ArrayList< VolatileProjector > sourceProjectors, final ArrayList< ? extends RandomAccessible< A > > sources, - final Converter< ? super A, B > converter, final RandomAccessibleInterval< B > target, final int numThreads, final ExecutorService executorService ) @@ -66,7 +59,6 @@ public abstract class AccumulateProjector< A, B > implements VolatileProjector this.sources = new ArrayList< IterableInterval< A > >(); for ( final RandomAccessible< A > source : sources ) this.sources.add( Views.flatIterable( Views.interval( source, target ) ) ); - this.converter = converter; this.target = target; this.iterableTarget = Views.flatIterable( target ); this.numThreads = numThreads; diff --git a/src/main/java/bdv/viewer/render/AccumulateProjectorARGB.java b/src/main/java/bdv/viewer/render/AccumulateProjectorARGB.java index dcd53fb6..38a0cca9 100644 --- a/src/main/java/bdv/viewer/render/AccumulateProjectorARGB.java +++ b/src/main/java/bdv/viewer/render/AccumulateProjectorARGB.java @@ -31,7 +31,7 @@ public class AccumulateProjectorARGB extends AccumulateProjector< ARGBType, ARGB final int numThreads, final ExecutorService executorService ) { - super( sourceProjectors, sources, null, target, numThreads, executorService ); + super( sourceProjectors, sources, target, numThreads, executorService ); } @Override -- GitLab