From 87b83e7bdb6260c1617a5fd4f9e33c72646be7bb Mon Sep 17 00:00:00 2001 From: nishantmonu51 Date: Thu, 21 Aug 2014 09:47:23 +0530 Subject: [PATCH] better comment --- .../java/io/druid/segment/realtime/plumber/RealtimePlumber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumber.java b/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumber.java index e3765505147..f3bebeda2a4 100644 --- a/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumber.java +++ b/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumber.java @@ -613,7 +613,7 @@ public class RealtimePlumber implements Plumber minTimestampAsDate = segmentGranularity.truncate(rejectionPolicy.getCurrMaxTime().minus(windowMillis)); } catch (ArithmeticException e) { - //caused when rejectionPolicy.currMaxTime minus windowMillis exceeds the capacity of long + //thrown when rejectionPolicy.currMaxTime minus windowMillis exceeds the capacity of long minTimestampAsDate = segmentGranularity.truncate(rejectionPolicy.getCurrMaxTime()); } long minTimestamp = minTimestampAsDate.getMillis();