@NotNull private InputStream openAttributes(@NotNull ObjectReader reader, @Nullable ObjectId id) throws IOException { if (ObjectId.zeroId().equals(id)) { return new ByteArrayInputStream(new byte[0]); } return reader.open(id, Constants.OBJ_BLOB).openStream(); }