From d78072f59e4b70c155252dab0d67a6d4941b2868 Mon Sep 17 00:00:00 2001 From: Karol Sobczak Date: Mon, 30 Sep 2019 16:41:10 +0200 Subject: [PATCH] Remove unused method --- .../orc/metadata/statistics/StringStatisticsBuilder.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/StringStatisticsBuilder.java b/presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/StringStatisticsBuilder.java index 09bd33db1980..5173959f8c2c 100644 --- a/presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/StringStatisticsBuilder.java +++ b/presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/StringStatisticsBuilder.java @@ -50,12 +50,6 @@ private StringStatisticsBuilder(int stringStatisticsLimitInBytes, long nonNullVa this.sum = sum; } - public StringStatisticsBuilder withStringStatisticsLimit(int limitInBytes) - { - checkArgument(limitInBytes >= 0, "limitInBytes is less than 0"); - return new StringStatisticsBuilder(limitInBytes, nonNullValueCount, minimum, maximum, sum); - } - public long getNonNullValueCount() { return nonNullValueCount;