From 7ab9c352f8da0a0334ca77917a4374ce44ef25f7 Mon Sep 17 00:00:00 2001 From: David Gault Date: Tue, 14 May 2024 10:26:21 +0100 Subject: [PATCH] Remove unused method --- src/loci/formats/in/ZarrReader.java | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/loci/formats/in/ZarrReader.java b/src/loci/formats/in/ZarrReader.java index 7814144..efd2a31 100644 --- a/src/loci/formats/in/ZarrReader.java +++ b/src/loci/formats/in/ZarrReader.java @@ -1242,26 +1242,4 @@ private void reloadOptionsFile(String id) { } } } - - /** - * Reloads the bfoptions file statically, only reading the value for the alterntiave file store - */ - private static String loadAltStoreOption(String id) { - String optionsFile = DynamicMetadataOptions.getMetadataOptionsFile(id); - if (optionsFile != null) { - MetadataOptions options = new DynamicMetadataOptions(); - if (options != null && options instanceof DynamicMetadataOptions) { - try { - ArrayList optionsList = new ArrayList(); - optionsList.add(ALT_STORE_KEY); - ((DynamicMetadataOptions) options).loadOptions(optionsFile, optionsList); - return ((DynamicMetadataOptions) options).get( - ALT_STORE_KEY, ALT_STORE_DEFAULT); - } catch (Exception e) { - LOGGER.warn("Exception while attempting to read metadata options file", e); - } - } - } - return ALT_STORE_DEFAULT; - } }