From bec23700fc7fec8329ad9bd0acc7a60435e263d5 Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Mon, 24 May 2021 12:20:45 -0700 Subject: [PATCH] Prepare for Java 2.0.1 release see https://github.com/google/flatbuffers/pull/6658 --- grpc/flatbuffers-java-grpc/pom.xml | 2 +- grpc/pom.xml | 2 +- grpc/tests/pom.xml | 4 ++-- java/com/google/flatbuffers/ByteBufferReadWriteBuf.java | 2 +- pom.xml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/grpc/flatbuffers-java-grpc/pom.xml b/grpc/flatbuffers-java-grpc/pom.xml index 901ec6067..59d8e9c7e 100644 --- a/grpc/flatbuffers-java-grpc/pom.xml +++ b/grpc/flatbuffers-java-grpc/pom.xml @@ -6,7 +6,7 @@ com.google.flatbuffers flatbuffers-parent - 2.0.0 + 2.0.1 flatbuffers-java-grpc ${project.artifactId} diff --git a/grpc/pom.xml b/grpc/pom.xml index f50a9bd39..e6291d12b 100644 --- a/grpc/pom.xml +++ b/grpc/pom.xml @@ -4,7 +4,7 @@ com.google.flatbuffers flatbuffers-parent pom - 2.0.0 + 2.0.1 flatbuffers-parent parent pom for flatbuffers java artifacts diff --git a/grpc/tests/pom.xml b/grpc/tests/pom.xml index e80e93b61..e889a0c12 100644 --- a/grpc/tests/pom.xml +++ b/grpc/tests/pom.xml @@ -4,13 +4,13 @@ com.google.flatbuffers flatbuffers-parent - 2.0.0 + 2.0.1 grpc-test Example/Test project demonstrating usage of flatbuffers with GRPC-Java instead of protobufs - 2.0.0 + 2.0.1 diff --git a/java/com/google/flatbuffers/ByteBufferReadWriteBuf.java b/java/com/google/flatbuffers/ByteBufferReadWriteBuf.java index 6d4eef292..cb109f76c 100644 --- a/java/com/google/flatbuffers/ByteBufferReadWriteBuf.java +++ b/java/com/google/flatbuffers/ByteBufferReadWriteBuf.java @@ -155,7 +155,7 @@ public class ByteBufferReadWriteBuf implements ReadWriteBuf { @Override public int writePosition() { - return ((Buffer) buffer).position(); + return buffer.position(); } @Override diff --git a/pom.xml b/pom.xml index 87285955e..52782ef6c 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.flatbuffers flatbuffers-java - 2.0.0 + 2.0.1 bundle FlatBuffers Java API