Skip to content

Commit

Permalink
TweetWallFX#1629 Make config object public static
Browse files Browse the repository at this point in the history
  • Loading branch information
svenreimers committed Sep 12, 2023
1 parent c051aba commit c7aa413
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public Class<SpeakerImageProvider> getDataProviderClass() {
* Param {@code scheduleDuration} Fixed rate of / delay between consecutive
* executions in seconds. Defaults to {@code 1800L}.
*/
private static record Config(
public static record Config(
String noImageResource,
Map<String, String> urlReplacements,
ScheduleType scheduleType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public Class<TopTalksTodayDataProvider> getDataProviderClass() {
* Param {@code minTotalVotes} Minimum number of total votes for a rated
* talk to be displayed. Defaults to {@code 10}.
*/
private static record Config(
public static record Config(
Integer nrVotes,
ScheduleType scheduleType,
Long initialDelay,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public Class<TopTalksWeekDataProvider> getDataProviderClass() {
* Param {@code minTotalVotes} Minimum number of total votes for a rated
* talk to be displayed. Defaults to {@code 10}.
*/
private static record Config(
public static record Config(
Integer nrVotes,
ScheduleType scheduleType,
Long initialDelay,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public Class<TrackImageDataProvider> getDataProviderClass() {
}
}

private static record Config(
public static record Config(
Integer profileWidth,
Integer profileHeight,
Boolean preserveRation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public String toString() {
}
}

private static class SpeakerTwitterHandles {
public static class SpeakerTwitterHandles {

private final Set<String> twitterHandles;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public Collection<Class<? extends DataProvider>> getRequiredDataProviders(final
}
}

private static class Config extends AbstractConfig {
public static class Config extends AbstractConfig {
public double layoutX = 0;
public double layoutY = 0;
public double width = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public Class<ImageMosaicDataProvider> getDataProviderClass() {
}
}

private static record Config(
public static record Config(
Boolean includeRetweets,
Integer maxCacheSize) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public Class<PhotoImageMediaEntryDataProvider> getDataProviderClass() {
}
}

private static record Config(
public static record Config(
Boolean includeRetweets) {

@SuppressWarnings("unused")
Expand Down

0 comments on commit c7aa413

Please sign in to comment.