#39 Get rid of anonymous inner class in ThreadLocal as it might possibly trigger a warning in Tomcat.