-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unneeded CycleAvoidingMappingContext.java
- Loading branch information
Showing
72 changed files
with
519 additions
and
824 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package com.faforever.client.domain.api; | ||
|
||
public record Division( | ||
Integer id, String descriptionKey, int index, String nameKey, LeagueSeason leagueSeason | ||
Integer id, String descriptionKey, int index, String nameKey | ||
) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
src/main/java/com/faforever/client/domain/api/LeaderboardRatingJournal.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
package com.faforever.client.domain.api; | ||
|
||
import java.time.OffsetDateTime; | ||
|
||
/** | ||
* Represents a leaderboard rating | ||
*/ | ||
public record LeaderboardRatingJournal( | ||
Integer id, | ||
Double meanAfter, | ||
Double deviationAfter, | ||
Double meanBefore, | ||
Double deviationBefore, GamePlayerStats gamePlayerStats, Leaderboard leaderboard | ||
Double meanBefore, Double deviationBefore, Leaderboard leaderboard, OffsetDateTime scoreTime | ||
) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
src/main/java/com/faforever/client/domain/api/MapReviewsSummary.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/main/java/com/faforever/client/domain/api/MapVersionReviewsSummary.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
src/main/java/com/faforever/client/domain/api/ModReviewsSummary.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/main/java/com/faforever/client/domain/api/ModVersionReviewsSummary.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
src/main/java/com/faforever/client/domain/api/ReplayReviewsSummary.java
This file was deleted.
Oops, something went wrong.
19 changes: 3 additions & 16 deletions
19
src/main/java/com/faforever/client/domain/api/ReviewsSummary.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
package com.faforever.client.domain.api; | ||
|
||
public sealed interface ReviewsSummary permits MapReviewsSummary, MapVersionReviewsSummary, ModReviewsSummary, ModVersionReviewsSummary, ReplayReviewsSummary { | ||
Integer id(); | ||
|
||
float positive(); | ||
|
||
float negative(); | ||
|
||
float score(); | ||
|
||
float averageScore(); | ||
|
||
int numReviews(); | ||
|
||
float lowerBound(); | ||
|
||
} | ||
public record ReviewsSummary( | ||
Integer id, float positive, float negative, float score, float averageScore, int numReviews, float lowerBound | ||
) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.