File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
org.knime.knip.io/src/org/knime/knip/io/nodes/imgwriter2 Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 5555import org .knime .core .node .NodeLogger ;
5656import org .knime .knip .io .ScifioGateway ;
5757import org .scijava .Context ;
58+ import org .scijava .util .ArrayUtils ;
5859
5960import io .scif .DependencyException ;
6061import io .scif .Format ;
6162import io .scif .FormatException ;
6263import io .scif .MissingLibraryException ;
6364import io .scif .SCIFIO ;
6465import io .scif .Writer ;
65- import io .scif .common .DataTools ;
6666import io .scif .config .SCIFIOConfig ;
6767import io .scif .img .ImgIOException ;
6868import io .scif .img .ImgSaver ;
@@ -328,8 +328,7 @@ public <T extends RealType<T>> void writeImage(final Img<T> img,
328328 compressionType );
329329
330330 final int pixeltype = SCIFIO .imgUtil ().makeType (imp .firstElement ());
331- if (!DataTools .containsValue (
332- tempWriter .getPixelTypes (compressionType ), pixeltype )) {
331+ if (!ArrayUtils .contains (tempWriter .getPixelTypes (compressionType ), pixeltype )) {
333332 throw new ImgIOException (compressionType );
334333 }
335334
You can’t perform that action at this time.
0 commit comments