DynamicOptions: Fix type safety warning

Change-Id: I5ea26e21cbec28d3f4e2a9c7c8692a448367db21
(cherry picked from commit fb3687e2bf)
This commit is contained in:
David Pursehouse 2017-10-01 20:42:08 +01:00 committed by Paladox none
parent 3c0499aaf2
commit fa6cb5d691

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;
}