mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-04 03:13:49 +00:00
fix invalid cast to IsRegattaLike
This commit is contained in:
1 parent
bd1a648ba4
commit
fa4f5a8018
1 file changed
+2
-2
+2
-2
@@ -347,7 +347,7 @@ public class LeaderboardsResource extends AbstractSailingServerResource {
|
||||
}
|
||||
;
|
||||
|
||||
IsRegattaLike isRegattaLike = (IsRegattaLike) leaderboard;
|
||||
IsRegattaLike isRegattaLike = ((HasRegattaLike) leaderboard).getRegattaLike();
|
||||
|
||||
DomainFactory domainFactory = getService().getDomainObjectFactory().getBaseDomainFactory();
|
||||
|
||||
@@ -433,7 +433,7 @@ public class LeaderboardsResource extends AbstractSailingServerResource {
|
||||
.build();
|
||||
}
|
||||
|
||||
IsRegattaLike isRegattaLike = (IsRegattaLike) leaderboard;
|
||||
IsRegattaLike isRegattaLike = ((HasRegattaLike) leaderboard).getRegattaLike();
|
||||
|
||||
AbstractLogEventAuthor author = new LogEventAuthorImpl(AbstractLogEventAuthor.NAME_COMPATIBILITY,
|
||||
AbstractLogEventAuthor.PRIORITY_COMPATIBILITY);
|
||||
|
||||
Reference in new issue
Block a user