Replace anonymous class with ThreadLocal.withInitial

Java 8 Introduced ThreadLocal.withInitial which is a simpler alternative
to creating an anonymous inner class to initialise a ThreadLocal
instance.

Change-Id: I23a7cefc6318de35c03520893d671c05a2c3c0be
1 file changed
tree: 0b0ffbe68138b5a04c0521fec1c84f2151fdbbda
  1. .settings/
  2. src/
  3. tools/
  4. .gitignore
  5. bazlets.bzl
  6. BUILD
  7. LICENSE
  8. WORKSPACE