FSTObjectOutput shouldn't be closed after write. #505

pull/508/head
Nikita 9 years ago
parent f02a306d32
commit 6383d5088b

@ -72,8 +72,6 @@ public class FstCodec implements Codec {
ByteArrayOutputStream os = new ByteArrayOutputStream();
FSTObjectOutput oos = config.getObjectOutput(os);
oos.writeObject(in);
oos.close();
return os.toByteArray();
}
};

Loading…
Cancel
Save