popular: 1.2.0 - Removed unused parameter in helper-method for tests
authorKai Moritz <kai@juplo.de>
Sat, 22 Jun 2024 09:20:38 +0000 (11:20 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 22 Jun 2024 09:20:38 +0000 (11:20 +0200)
pom.xml
src/test/java/de/juplo/kafka/wordcount/popular/TestData.java

diff --git a/pom.xml b/pom.xml
index 0c99200..a21d7cc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
        </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>
index 4ac9fd4..0d3036f 100644 (file)
@@ -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);
        }