From 4aef1e64a08772a8707645d46e7bd1eb3ad9fad7 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 22 Jun 2024 11:20:38 +0200 Subject: [PATCH] popular: 1.2.0 - Removed unused parameter in helper-method for tests --- pom.xml | 2 +- .../java/de/juplo/kafka/wordcount/popular/TestData.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 0c99200..a21d7cc 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ de.juplo.kafka.wordcount popular - 1.1.1 + 1.2.0 Wordcount-Popular-Words Query stream-processor that gives access to the most popular words diff --git a/src/test/java/de/juplo/kafka/wordcount/popular/TestData.java b/src/test/java/de/juplo/kafka/wordcount/popular/TestData.java index 4ac9fd4..0d3036f 100644 --- a/src/test/java/de/juplo/kafka/wordcount/popular/TestData.java +++ b/src/test/java/de/juplo/kafka/wordcount/popular/TestData.java @@ -43,15 +43,15 @@ class TestData 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); } -- 2.20.1