From f10d8d50f792ce71ec207643b73e0f34202085ab Mon Sep 17 00:00:00 2001 From: "ievgen.degtiarenko" Date: Wed, 4 Dec 2024 16:03:27 +0100 Subject: [PATCH] remove unused --- .../xpack/esql/core/util/CollectionUtils.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/util/CollectionUtils.java b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/util/CollectionUtils.java index 8f868230fb19..ce0540687121 100644 --- a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/util/CollectionUtils.java +++ b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/util/CollectionUtils.java @@ -69,13 +69,6 @@ public static List combine(Collection left, T... entries) { return list; } - public static int mapSize(int size) { - if (size < 2) { - return size + 1; - } - return (int) (size / 0.75f + 1f); - } - @SafeVarargs @SuppressWarnings("varargs") public static List nullSafeList(T... entries) {