Bug 4454: Removed unused throws declaration

This commit is contained in:
Steffen Schaefer committed 2018-04-18 11:28:27 +02:00
1 parent 05bfc959dd
commit c2652e22bb
2 files changed
+2 -3

No files matched your search

@@ -766,9 +766,8 @@ public interface SailingService extends RemoteService, FileStorageManagementGwtS
* Slices a new race from the race specified by the given {@link RegattaAndRaceIdentifier} using the given time range.
* A new {@link RaceColumn} with the given name is added to the {@link RegattaLeaderboard}.
* @throws ServiceException
* @throws NotFoundException
*/
RegattaAndRaceIdentifier sliceRace(RegattaAndRaceIdentifier raceIdentifier, String newRaceColumnName, TimePoint sliceFrom, TimePoint sliceTo) throws ServiceException, NotFoundException;
RegattaAndRaceIdentifier sliceRace(RegattaAndRaceIdentifier raceIdentifier, String newRaceColumnName, TimePoint sliceFrom, TimePoint sliceTo) throws ServiceException;
/**
* Returns specific data needed for the slicing UI.
@@ -7505,7 +7505,7 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
@Override
public RegattaAndRaceIdentifier sliceRace(RegattaAndRaceIdentifier raceIdentifier, String newRaceColumnName,
TimePoint sliceFrom, TimePoint sliceTo) throws ServiceException, NotFoundException {
TimePoint sliceFrom, TimePoint sliceTo) throws ServiceException {
final Locale locale = getClientLocale();
SecurityUtils.getSubject().checkPermission(Permission.MANAGE_TRACKED_RACES.getStringPermissionForObjects(Mode.UPDATE));