@@ -344,7 +344,7 @@ public Date scheduleSatBunch(User user, String jobLabel, String bunchName, Strin
344
344
*/
345
345
public void scheduleRecurringAction (RecurringAction action , User user ) throws TaskomaticApiException {
346
346
if (!action .canAccess (user )) {
347
- throw new PermissionException (String .format ("User '%s' can't schedule action '$ s'" , user , action ));
347
+ throw new PermissionException (String .format ("User '%s' can't schedule action '% s'" , user , action ));
348
348
}
349
349
350
350
doScheduleSatBunch (user , action .computeTaskoScheduleName (), "recurring-action-executor-bunch" ,
@@ -371,7 +371,7 @@ private Date doScheduleSatBunch(User user, String jobLabel, String bunchName, St
371
371
*/
372
372
public void unscheduleRecurringAction (RecurringAction action , User user ) throws TaskomaticApiException {
373
373
if (!action .canAccess (user )) {
374
- throw new PermissionException (String .format ("User '%s' can't unschedule action '$ s'" , user , action ));
374
+ throw new PermissionException (String .format ("User '%s' can't unschedule action '% s'" , user , action ));
375
375
}
376
376
377
377
doUnscheduleSatBunch (user , action .computeTaskoScheduleName (), "recurring-action-executor-bunch" );
@@ -519,8 +519,7 @@ public String getRepoSyncSchedule(Channel chan, User user)
519
519
* @throws TaskomaticApiException if there was an error
520
520
*/
521
521
public List <Map <String , Object >> listSatBunchSchedules (User user ) throws TaskomaticApiException {
522
- List <Map <String , Object >> bunches = (List <Map <String , Object >>) invoke ("tasko.listSatBunches" );
523
- return bunches ;
522
+ return (List <Map <String , Object >>) invoke ("tasko.listSatBunches" );
524
523
}
525
524
526
525
/**
0 commit comments