From ea4ce08d1f569837239fa90c5fb7173f7a75c849 Mon Sep 17 00:00:00 2001 From: David Gault Date: Wed, 15 May 2024 16:01:53 +0100 Subject: [PATCH] JZarrServiceImpl: Remove unused code --- src/loci/formats/services/JZarrServiceImpl.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/loci/formats/services/JZarrServiceImpl.java b/src/loci/formats/services/JZarrServiceImpl.java index 3f32518..732b8c2 100644 --- a/src/loci/formats/services/JZarrServiceImpl.java +++ b/src/loci/formats/services/JZarrServiceImpl.java @@ -107,14 +107,6 @@ public Map getGroupAttr(String path) throws IOException, FormatE } public Map getArrayAttr(String path) throws IOException, FormatException { - ZarrArray array = null; - if (s3fs == null) { - array = ZarrArray.open(path); - } - else { - s3fs.updateRoot(getZarrRoot(s3fs.getRoot()) + stripZarrRoot(path)); - array = ZarrArray.open(s3fs); - } return getArray(path).getAttributes(); }