Skip to content

Commit 414d663

Browse files
author
Rob Harrop
committed
[SPR-6048] fixed Exception signature in CronTriggerBean.afterPropertiesSet()
1 parent 2b96fe8 commit 414d663

File tree

1 file changed

+1
-2
lines changed
  • org.springframework.context.support/src/main/java/org/springframework/scheduling/quartz

1 file changed

+1
-2
lines changed

org.springframework.context.support/src/main/java/org/springframework/scheduling/quartz/CronTriggerBean.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package org.springframework.scheduling.quartz;
1818

19-
import java.text.ParseException;
2019
import java.util.Date;
2120
import java.util.Map;
2221
import java.util.TimeZone;
@@ -131,7 +130,7 @@ public void setBeanName(String beanName) {
131130
}
132131

133132

134-
public void afterPropertiesSet() throws ParseException {
133+
public void afterPropertiesSet() throws Exception {
135134
if (getName() == null) {
136135
setName(this.beanName);
137136
}

0 commit comments

Comments
 (0)