if (codecNameUTF8Length == 0) {
// no compression
uncompressedData = new ByteArrayInputStream(storedData);
} else {
CompressionCodec codec = getCodecFromName(codecNameText, conf);
Decompressor decompressor = null;
if (decompressorCache != null) {
// Create decompressor and add to cache if needed.
decompressor = decompressorCache.get(codecNameText);
if (decompressor == null) {
decompressor = codec.createDecompressor();
} else {
decompressor.reset();
}
}
if (decompressor == null) {
uncompressedData = codec.createInputStream(new ByteArrayInputStream(storedData));
} else {