Using ThreadLocal for non thread safe date formatter and removing unused
variable