commit | c99571d61b4f118ae5567555802e40bdd23e2f57 | [log] [tgz] |
---|---|---|
author | Hector Oswaldo Caballero <hector.caballero@ericsson.com> | Wed Nov 29 18:09:59 2017 -0500 |
committer | Hector Oswaldo Caballero <hector.caballero@ericsson.com> | Thu Nov 30 07:35:16 2017 -0500 |
tree | 0b0ffbe68138b5a04c0521fec1c84f2151fdbbda | |
parent | 48e1509309699174e872e3b0bc2efb08b3897444 [diff] |
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