- added more instances of formatter objects to different classes to make them independent in case of lockings that may applay during synchronization of the date formatter object (date formatting is not thread-safe and must be synchronized therefore)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7528 6c8d7289-2bf4-0310-a012-ef5d649a1542
@ -212,7 +215,7 @@ public class yacySeed implements Cloneable, Comparable<yacySeed>, Comparator<yac
this.dna.put(yacySeed.IPTYPE,"∅");
// settings that can only be computed by visiting peer
this.dna.put(yacySeed.LASTSEEN,GenericFormatter.SHORT_SECOND_FORMATTER.format(newDate(System.currentTimeMillis()/*- DateFormatter.UTCDiff()*/)));// for last-seen date
this.dna.put(yacySeed.LASTSEEN,my_SHORT_SECOND_FORMATTER.format(newDate(System.currentTimeMillis()/*- DateFormatter.UTCDiff()*/)));// for last-seen date
this.dna.put(yacySeed.USPEED,yacySeed.ZERO);// the computated uplink speed of the peer
// settings that are needed to organize the seed round-trip
@ -491,7 +494,7 @@ public class yacySeed implements Cloneable, Comparable<yacySeed>, Comparator<yac
// because java thinks it must apply the UTC offset to the current time,
// to create a string that looks like our current time, it adds the local UTC offset to the
// time. To create a corrected UTC Date string, we first subtract the local UTC offset.