From a378dead172633244da847891c8345dae81a4cbf Mon Sep 17 00:00:00 2001 From: MrSebastian <13592751+MrSebastian@users.noreply.github.com> Date: Fri, 30 Aug 2024 10:48:09 +0200 Subject: [PATCH 1/2] remove unused import --- .../basisdatenservice/domain/WahltagRepository.java | 1 - 1 file changed, 1 deletion(-) diff --git a/wls-basisdaten-service/src/main/java/de/muenchen/oss/wahllokalsystem/basisdatenservice/domain/WahltagRepository.java b/wls-basisdaten-service/src/main/java/de/muenchen/oss/wahllokalsystem/basisdatenservice/domain/WahltagRepository.java index 3999ced3b..4e3c248de 100644 --- a/wls-basisdaten-service/src/main/java/de/muenchen/oss/wahllokalsystem/basisdatenservice/domain/WahltagRepository.java +++ b/wls-basisdaten-service/src/main/java/de/muenchen/oss/wahllokalsystem/basisdatenservice/domain/WahltagRepository.java @@ -2,7 +2,6 @@ import java.util.List; import java.util.Optional; -import java.util.UUID; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.CachePut; import org.springframework.cache.annotation.Cacheable; From b0a3c9b594ea71c504a1b1cf24d511872e695e2d Mon Sep 17 00:00:00 2001 From: MrSebastian <13592751+MrSebastian@users.noreply.github.com> Date: Fri, 30 Aug 2024 14:54:42 +0200 Subject: [PATCH 2/2] add @Override to getWahlen dummy implementation --- .../basisdatenservice/clients/DummyClientImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/wls-basisdaten-service/src/main/java/de/muenchen/oss/wahllokalsystem/basisdatenservice/clients/DummyClientImpl.java b/wls-basisdaten-service/src/main/java/de/muenchen/oss/wahllokalsystem/basisdatenservice/clients/DummyClientImpl.java index dccaf0040..914ad11ff 100644 --- a/wls-basisdaten-service/src/main/java/de/muenchen/oss/wahllokalsystem/basisdatenservice/clients/DummyClientImpl.java +++ b/wls-basisdaten-service/src/main/java/de/muenchen/oss/wahllokalsystem/basisdatenservice/clients/DummyClientImpl.java @@ -65,6 +65,7 @@ public List getWahltage(LocalDate tag) { new WahltagModel("wahltagID2", LocalDate.now().minusMonths(1), "Beschreibung Wahltag 2", "1")); } + @Override public List getWahlen(LocalDate wahltag, String wahltagNummer) throws WlsException { return List.of( new WahlModel("wahl1", "0", 1L, 1L, wahltag, BTW, new Farbe(0, 1, 2), "1"),