]> juplo.de Git - demos/kafka/wordcount/commitdiff
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 0c992005d7217821c835c12face2f6728d2099fa..a21d7cce62a928dab06f444fc5b25ac15de3c5e0 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 4ac9fd4940babe8c53adacfe8f7e31f1400a1464..0d3036f0f1d3444a0b463f920bd8e44e96085a75 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);
        }