From e3e504497ed6b37751bcd55a9dca5d120329acb4 Mon Sep 17 00:00:00 2001 From: belugabehr <12578579+belugabehr@users.noreply.github.com> Date: Sat, 14 Sep 2024 14:03:24 -0400 Subject: [PATCH] Update lang/java/avro/src/main/java/org/apache/avro/io/BufferedBinaryEncoder.java Co-authored-by: Martin Grigorov --- .../src/main/java/org/apache/avro/io/BufferedBinaryEncoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/java/avro/src/main/java/org/apache/avro/io/BufferedBinaryEncoder.java b/lang/java/avro/src/main/java/org/apache/avro/io/BufferedBinaryEncoder.java index da04ed38a27..35b515ad10a 100644 --- a/lang/java/avro/src/main/java/org/apache/avro/io/BufferedBinaryEncoder.java +++ b/lang/java/avro/src/main/java/org/apache/avro/io/BufferedBinaryEncoder.java @@ -179,7 +179,7 @@ protected void writeZero() throws IOException { if (pos == buf.length) { flushBuffer(); } - buf[pos++] = (byte) (0); + buf[pos++] = (byte) 0; } @Override