Some more minor clean-up.

(cherry picked from commit ce997a69519efb9c0130e709cdc898c1e4ea2b33)
This commit is contained in:
Harald Kuhr 2021-08-06 10:10:34 +02:00
parent 2076235313
commit 59f76209bc

View File

@ -73,16 +73,17 @@ public final class TIFFReader extends MetadataReader {
} }
}; };
map.put(TIFF.TAG_SUB_IFD, Collections.unmodifiableCollection(Collections.singleton(TIFF.TAG_SUB_IFD))); map.put(TIFF.TAG_SUB_IFD, Collections.singleton(TIFF.TAG_SUB_IFD));
map.put(TIFF.TAG_EXIF_IFD, Collections.unmodifiableCollection(Collections.singleton(TIFF.TAG_INTEROP_IFD))); map.put(TIFF.TAG_EXIF_IFD, Collections.singleton(TIFF.TAG_INTEROP_IFD));
return Collections.unmodifiableMap(map); return Collections.unmodifiableMap(map);
} }
private final Set<Long> parsedIFDs = new TreeSet<>();
private long length; private long length;
private boolean longOffsets; private boolean longOffsets;
private int offsetSize; private int offsetSize;
private Set<Long> parsedIFDs = new TreeSet<>();
@Override @Override
public Directory read(final ImageInputStream input) throws IOException { public Directory read(final ImageInputStream input) throws IOException {