Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Use logger instead of System.out
Browse files Browse the repository at this point in the history
  • Loading branch information
mklaehn committed Oct 2, 2023
1 parent c453467 commit 5b185af
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public Optional<RatingClient> getRatingClient() {
@Override
public List<RatedTalk> 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()
Expand All @@ -194,7 +194,7 @@ public List<RatedTalk> getRatedTalks(final String conferenceDay) {
@Override
public List<RatedTalk> getRatedTalksOverall() {
if (Boolean.getBoolean("org.tweetwallfx.conference.randomRatedTalks")) {
System.out.println("######## randomizedRatedTalksWeek");
LOG.debug("######## randomizedRatedTalksWeek");
return randomizedRatedTalks();
} else {
return getVotingResults().entrySet().stream()
Expand All @@ -205,7 +205,7 @@ public List<RatedTalk> getRatedTalksOverall() {
}

private List<RatedTalk> randomizedRatedTalks() {
System.out.println("######## randomizedRatedTalks");
LOG.debug("######## randomizedRatedTalks");
return RestCallHelper.readOptionalFrom(config.getEventBaseUri() + "talks", listOfMaps())
.orElse(List.of())
.stream()
Expand Down

0 comments on commit 5b185af

Please sign in to comment.