From 198c4a6e45ee5e958571344c7dd55a742faa56ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Besson?= Date: Mon, 22 Jul 2024 08:43:15 +0100 Subject: [PATCH] OMEXMLReader: replace assignment operator by logical or operator --- components/formats-bsd/src/loci/formats/in/OMEXMLReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/formats-bsd/src/loci/formats/in/OMEXMLReader.java b/components/formats-bsd/src/loci/formats/in/OMEXMLReader.java index 6ce56250894..617ccdca02b 100644 --- a/components/formats-bsd/src/loci/formats/in/OMEXMLReader.java +++ b/components/formats-bsd/src/loci/formats/in/OMEXMLReader.java @@ -290,7 +290,7 @@ protected void initFile(String id) throws FormatException, IOException { Integer t = omexmlMeta.getPixelsSizeT(i).getValue(); Integer z = omexmlMeta.getPixelsSizeZ(i).getValue(); Integer c = omexmlMeta.getPixelsSizeC(i).getValue(); - if (w == null || h == null || t == null || z == null | c == null) { + if (w == null || h == null || t == null || z == null || c == null) { throw new FormatException("Image dimensions not found"); }