Skip to content

Commit

Permalink
Upgrade to Gradle 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jan 22, 2025
1 parent f696b1e commit f7e1a47
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ public class ConflictResolutionFusion<R> implements Fusion<R> {
* #getSources()}.
*/
@NonNull
Function<R, String> sourceExtractor;
Function<@NonNull R, String> sourceExtractor;
/**
* A function that extract the last modification timestamp of a record. Useful for time-based resolutions.
*/
@NonNull
Function<R, LocalDateTime> lastModifiedExtractor;
Function<@NonNull R, @NonNull LocalDateTime> lastModifiedExtractor;
/**
* The list of possible sources. Superfluous sources are ignored.
*/
Expand All @@ -68,7 +68,8 @@ public class ConflictResolutionFusion<R> implements Fusion<R> {
@NonNull ConflictResolution<R, R> rootResolution;

@Getter(value = AccessLevel.PRIVATE, lazy = true)
@NonNull Map<@NonNull String, @NonNull Source> sourceByName =
@NonNull
Map<String, Source> sourceByName =
this.sources.stream().collect(Collectors.toMap(Source::getName, s -> s));

@Override
Expand Down

0 comments on commit f7e1a47

Please sign in to comment.