We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e24189d commit 9ea4cd5Copy full SHA for 9ea4cd5
ejb/timer/src/main/java/org/javaee7/ejb/timer/ProgrammaticTimerBean.java
@@ -20,11 +20,11 @@ public class ProgrammaticTimerBean {
20
TimerService timerService;
21
22
@PostConstruct
23
- public void initialize(){
24
- ScheduleExpression scheduleExpression = new ScheduleExpression();
25
- scheduleExpression.hour("*");
26
- scheduleExpression.minute("*");
27
- scheduleExpression.second("*/5");
+ public void initialize() {
+ ScheduleExpression scheduleExpression = new ScheduleExpression()
+ .hour("*")
+ .minute("*")
+ .second("*/5");
28
29
TimerConfig timerConfig = new TimerConfig();
30
timerConfig.setInfo("Every 5 second timer");
0 commit comments