[JAVAEETUTORIAL-152] 6000 milliseconds are 6 seconds, not 1 minute. Created: 14/Feb/13  Updated: 14/Feb/13  Resolved: 14/Feb/13

Status: Resolved
Project: javaeetutorial
Component/s: doc
Affects Version/s: 6.0.8
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: swiss-chris Assignee: Ian Evans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1 minute
Time Spent: Not Specified
Original Estimate: 1 minute


 Description   

Hello

In the Java EE Tutorial EJB Chapter on Timers, we find the following text:

-----------

The following code sets a programmatic timer that will expire in 1 minute (6,000 milliseconds):

long duration = 6000;
Timer timer =
timerService.createSingleActionTimer(duration, new TimerConfig());

-----------

I believe 6000 milliseconds is 6 seconds, not 60 seconds.



 Comments   
Comment by Ian Evans [ 14/Feb/13 ]

Updated source file. Fix will appear in the EE 7 Tutorial.

Generated at Sun May 24 10:16:35 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.