DynamicOptions: Fix type safety warning

Change-Id: I5ea26e21cbec28d3f4e2a9c7c8692a448367db21
This commit is contained in:
David Pursehouse 2017-10-01 20:42:08 +01:00
parent cf2cd39524
commit fb3687e2bf

View File

@ -252,7 +252,7 @@ public class DynamicOptions {
}
if (mergedCl == null) {
mergedCl = new DelegatingClassLoader(beanCl, dynamicBeanCl);
mergedClByCl.put(dynamicBeanCl, new WeakReference(mergedCl));
mergedClByCl.put(dynamicBeanCl, new WeakReference<>(mergedCl));
}
return mergedCl;
}