From 7817c43e08101d09969643313e4550e9c7516e02 Mon Sep 17 00:00:00 2001 From: Nezih Yigitbasi Date: Tue, 3 Jul 2018 13:54:25 -0700 Subject: [PATCH] Remove unused method This is also broken as it compares two objects of different types for equality. --- .../facebook/presto/operator/exchange/TestLocalExchange.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/presto-main/src/test/java/com/facebook/presto/operator/exchange/TestLocalExchange.java b/presto-main/src/test/java/com/facebook/presto/operator/exchange/TestLocalExchange.java index 62c970892d95b..b7d262cac9325 100644 --- a/presto-main/src/test/java/com/facebook/presto/operator/exchange/TestLocalExchange.java +++ b/presto-main/src/test/java/com/facebook/presto/operator/exchange/TestLocalExchange.java @@ -586,11 +586,6 @@ private static void assertExchangeTotalBufferedBytes(LocalExchange exchange, int assertEquals(exchange.getBufferedBytes(), retainedSizeOfPages(pageCount)); } - private static void assertExchangeTotalBufferedPages(LocalExchange exchange, int pageCount) - { - assertEquals(exchange, retainedSizeOfPages(pageCount)); - } - private static Page createPage(int i) { return SequencePageBuilder.createSequencePage(TYPES, 100, i);