* @throws APIException\r
*/\r
public RefreshableThreadObject(Class<T> clss) throws APIException {\r
- objs = new ConcurrentHashMap<Thread,T>();\r
+ objs = new ConcurrentHashMap<>();\r
try {\r
cnst = clss.getConstructor(new Class[]{Env.class} );\r
} catch (Exception e) {\r