Local variable is thread safe by origin, so synchronized block is redundant