This content has been marked as final.
Show 3 replies
-
1. Re: taskinstance setStart(new Date()) storing null in the da
luowp Mar 4, 2008 4:27 PM (in response to adapasubrahmanyam)How could you call setStart() method. I can only find start() or start(actorID) method in TaskInstance class.
-
2. Re: taskinstance setStart(new Date()) storing null in the da
pojomonkey Mar 5, 2008 4:10 AM (in response to adapasubrahmanyam)Let's have a look - taskInstance.setStart(Date date) is:
/** * overwrite start date */ public void setStart(Date date) { start = null; }
from TaskInstance source.
I think that explains it. -
3. Re: taskinstance setStart(new Date()) storing null in the da
pojomonkey Mar 5, 2008 4:12 AM (in response to adapasubrahmanyam)BTW - in TaskInstance.start() it uses 'start == null' to determine whether the task has already been started or not.
So, following a call to setStart() it would also be possible to call start() again - probably would cause problems...