diff --git a/src/main/java/com/rabbitmq/stream/impl/Client.java b/src/main/java/com/rabbitmq/stream/impl/Client.java index 86fa36a654..83e678ebc7 100644 --- a/src/main/java/com/rabbitmq/stream/impl/Client.java +++ b/src/main/java/com/rabbitmq/stream/impl/Client.java @@ -752,7 +752,7 @@ private static int collectionSize(Collection elements) { } private static int arraySize(String... elements) { - return 4 + collectionSize(asList(elements)); + return collectionSize(asList(elements)); } private static int mapSize(Map elements) {