thanks for the insights! I see nobody chose to tackle the off-topic part :)
So judging by the outcome it would make sense to also change the TreeUtil class to use 'System.currentTimeMillis()' call, instead of needlessly going through the Calendar. best, alex On Fri, Sep 6, 2013 at 3:37 PM, Jukka Zitting <[email protected]>wrote: > Hi, > > On Fri, Sep 6, 2013 at 5:12 AM, Julian Reschke <[email protected]> > wrote: > > I wasn't asking about JCR's use of Calendar (which I believe was a bad > > idea), but the use of Calendar just to get the absolute system time... > > +1 When we're dealing with just the timestamp long, which by > definition is timezone-independent, there should be no need to go > through Calendar. > > BR, > > Jukka Zitting >
