</parent>
<groupId>de.juplo.kafka.wordcount</groupId>
<artifactId>popular</artifactId>
- <version>1.1.1</version>
+ <version>1.2.0</version>
<name>Wordcount-Popular-Words</name>
<description>Query stream-processor that gives access to the most popular words</description>
<properties>
private static Instant windowStart()
{
- return windowBoundFor(CLOCK.instant(), 0);
+ return windowBoundFor(0);
}
private static Instant windowEnd()
{
- return windowBoundFor(CLOCK.instant(), WINDOW_SIZE.toSecondsPart());
+ return windowBoundFor(WINDOW_SIZE.toSecondsPart());
}
- private static Instant windowBoundFor(Instant instant, int second)
+ private static Instant windowBoundFor(int second)
{
return instantOfSecond(second, 0);
}