Just trying to learn how to parameterize my app using the above example.
Upon loading into Eclipse Oxygen 2 on windows 10 the following is given.
113 long time;
114 while((time = heatbugs.schedule.time()) < 500)
Type mismatch cannot convert from double to long
3 quick fixes available:
Add cast to 'long'
Change type of time to 'double'
Change return type of time(..) to 'long'
I have chosen the second option as there are numerous references in Schedule.java which are all of type double and it appears to work as expected.
This has probably been pointed out before but I hope it helps.