[SPR-6048] fixed Exception signature in CronTriggerBean.afterPropertiesSet()
This commit is contained in:
parent
2b96fe8b5d
commit
414d6633ea
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
package org.springframework.scheduling.quartz;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
import java.util.TimeZone;
|
||||
|
|
@ -131,7 +130,7 @@ public class CronTriggerBean extends CronTrigger
|
|||
}
|
||||
|
||||
|
||||
public void afterPropertiesSet() throws ParseException {
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
if (getName() == null) {
|
||||
setName(this.beanName);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue