From cce917ab846198706ec8177a91869f9aa43e0525 Mon Sep 17 00:00:00 2001 From: Justin Borromeo Date: Fri, 8 Mar 2019 14:11:07 -0800 Subject: [PATCH] Checkstyle fix --- .../main/java/org/apache/druid/query/scan/ScanQueryEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/src/main/java/org/apache/druid/query/scan/ScanQueryEngine.java b/processing/src/main/java/org/apache/druid/query/scan/ScanQueryEngine.java index a14e0a070d9..f801ef130a5 100644 --- a/processing/src/main/java/org/apache/druid/query/scan/ScanQueryEngine.java +++ b/processing/src/main/java/org/apache/druid/query/scan/ScanQueryEngine.java @@ -261,7 +261,7 @@ public class ScanQueryEngine /** * If we're performing time-ordering, we want to scan through every row in the segment (hence the maximum limit) */ - private long calculateLimit(ScanQuery query, Map responseContext) + private long calculateLimit(ScanQuery query, Map responseContext) { if (query.getTimeOrder().equals(ScanQuery.TimeOrder.NONE)) { return query.getLimit() - (long) responseContext.get(ScanQueryRunnerFactory.CTX_COUNT);