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

Commit

Permalink
Made the system property for randomized rated talks more expressive (#36
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mklaehn authored Oct 1, 2023
1 parent 0007e5d commit c453467
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cinema/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ application {
tasks.withType(JavaExec).configureEach {
// jvmArgs '-Dorg.tweetwallfx.scheduledata.day=friday'
// jvmArgs '-Dorg.tweetwallfx.scheduledata.time=10:00Z'
// jvmArgs '-Dorg.tweetwallfx.conference.randomRatedTalks=true'
}

tasks.register('debug', JavaExec) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public Optional<RatingClient> getRatingClient() {

@Override
public List<RatedTalk> getRatedTalks(final String conferenceDay) {
if (Boolean.getBoolean("org.tweetwallfx.conference.randomTalks")) {
if (Boolean.getBoolean("org.tweetwallfx.conference.randomRatedTalks")) {
System.out.println("######## randomizedRatedTalksPerDay");
return randomizedRatedTalks();
} else {
Expand All @@ -193,7 +193,7 @@ public List<RatedTalk> getRatedTalks(final String conferenceDay) {

@Override
public List<RatedTalk> getRatedTalksOverall() {
if (Boolean.getBoolean("org.tweetwallfx.conference.randomTalks")) {
if (Boolean.getBoolean("org.tweetwallfx.conference.randomRatedTalks")) {
System.out.println("######## randomizedRatedTalksWeek");
return randomizedRatedTalks();
} else {
Expand Down

0 comments on commit c453467

Please sign in to comment.