mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-14 22:43:57 +00:00
bug4964: salvaged comment of RacingEventService.renameLeaderboardGroup
This commit is contained in:
1 parent
b7f2c28975
commit
33fa19dfa2
1 file changed
+8
+8
@@ -3105,6 +3105,14 @@ public class RacingEventServiceImpl implements RacingEventService, ClearStateTes
|
||||
mongoObjectFactory.removeLeaderboardGroup(groupName);
|
||||
}
|
||||
|
||||
/**
|
||||
* Renames the group with the name <code>oldName</code> to the <code>newName</code>.<br />
|
||||
* If there's no group with the name <code>oldName</code> or there's already a group with the name
|
||||
* <code>newName</code> a {@link IllegalArgumentException} is thrown.
|
||||
*
|
||||
* @param oldName The old name of the group
|
||||
* @param newName The new name of the group
|
||||
*/
|
||||
private void renameLeaderboardGroup(String oldName, String newName) {
|
||||
LockUtil.lockForWrite(leaderboardGroupsByNameLock);
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user