Oct. 25, 2013
1:56 p.m.
Martin watching the DeepCopier??? mmmm I am afraid to ask why ;) On Fri, Oct 25, 2013 at 6:10 AM, Martin Dias <tinchodias@gmail.com> wrote:
Hi,
This method in DeepCopier has no senders (in Pharo 3) and it's the only who references the class variable NextVariableCheckTime.
The time stamp says 1999... Unused code to remove?
isItTimeToCheckVariables
| now isIt | NextVariableCheckTime ifNil: [ NextVariableCheckTime := Time totalSeconds. ^ true]. now := Time totalSeconds. isIt := NextVariableCheckTime < now. isIt ifTrue: ["update time for next check" NextVariableCheckTime := now + self intervalForChecks]. ^isIt
Cheers, MartÃn
-- Mariano http://marianopeck.wordpress.com