mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-21 19:50:01 +00:00
simplified derivation of device mappings from mapping events
This commit is contained in:
1 parent
7508b7ccee
commit
83610c20bb
6 files changed
+17
-175
No files matched your search
+2
@@ -4360,7 +4360,9 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
|
||||
List<Serializable> eventIds) throws NotRevokableException {
|
||||
RaceLog raceLog = getRaceLog(leaderboardName, raceColumnName, fleetName);
|
||||
for (Serializable idToRevoke : eventIds) {
|
||||
raceLog.lockForRead();
|
||||
RaceLogEvent event = raceLog.getEventById(idToRevoke);
|
||||
raceLog.unlockAfterRead();
|
||||
if (event instanceof Revokable) {
|
||||
raceLog.revokeEvent(getService().getServerAuthor(), (Revokable) event);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user