Revert "Fixed minor code smell in AddonClassLoader"

This reverts commit a392dbc8b3.
This commit is contained in:
tastybento 2019-01-27 09:08:41 -08:00
parent b0ba135d1b
commit 873c12fe70

View File

@ -121,7 +121,7 @@ public class AddonClassLoader extends URLClassLoader {
// Either return the value if it exists (and != null), or try to compute one.
// If the computed value is null, it won't be added to the map.
return classes.computeIfAbsent(name, key -> {
return classes.computeIfAbsent(name, (key) -> {
Class<?> computed = checkGlobal ? loader.getClassByName(key) : null;
if (computed == null) {