From 5b185af6a2d5e024d7645e33d841047260e83382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kla=CC=88hn?= Date: Mon, 2 Oct 2023 15:11:21 +0200 Subject: [PATCH] Use logger instead of System.out --- .../tweetwallfx/conference/impl/ConferenceClientImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conference-impl/src/main/java/org/tweetwallfx/conference/impl/ConferenceClientImpl.java b/conference-impl/src/main/java/org/tweetwallfx/conference/impl/ConferenceClientImpl.java index 318fcde..97a5505 100644 --- a/conference-impl/src/main/java/org/tweetwallfx/conference/impl/ConferenceClientImpl.java +++ b/conference-impl/src/main/java/org/tweetwallfx/conference/impl/ConferenceClientImpl.java @@ -180,7 +180,7 @@ public Optional getRatingClient() { @Override public List getRatedTalks(final String conferenceDay) { if (Boolean.getBoolean("org.tweetwallfx.conference.randomRatedTalks")) { - System.out.println("######## randomizedRatedTalksPerDay"); + LOG.debug("######## randomizedRatedTalksPerDay"); return randomizedRatedTalks(); } else { return getVotingResults().entrySet().stream() @@ -194,7 +194,7 @@ public List getRatedTalks(final String conferenceDay) { @Override public List getRatedTalksOverall() { if (Boolean.getBoolean("org.tweetwallfx.conference.randomRatedTalks")) { - System.out.println("######## randomizedRatedTalksWeek"); + LOG.debug("######## randomizedRatedTalksWeek"); return randomizedRatedTalks(); } else { return getVotingResults().entrySet().stream() @@ -205,7 +205,7 @@ public List getRatedTalksOverall() { } private List randomizedRatedTalks() { - System.out.println("######## randomizedRatedTalks"); + LOG.debug("######## randomizedRatedTalks"); return RestCallHelper.readOptionalFrom(config.getEventBaseUri() + "talks", listOfMaps()) .orElse(List.of()) .stream()