No effective change - Code cleanup, convert unnecessary fields to local vars

This commit is contained in:
Robin Bygrave
2015-07-31 13:00:53 +12:00
parent b9aa76c367
commit 8a3d9edd34
12 changed files with 14 additions and 50 deletions
@@ -11,8 +11,6 @@ public class ClassUtil {
private static final Logger logger = LoggerFactory.getLogger(ClassUtil.class);
private static boolean preferContext = true;
/**
* Load a class taking into account a context class loader (if present).
*/
@@ -28,7 +26,7 @@ public class ClassUtil {
if (caller == null) {
caller = ClassUtil.class;
}
ClassLoadContext ctx = ClassLoadContext.of(caller, preferContext);
ClassLoadContext ctx = ClassLoadContext.of(caller, true);
return ctx.forName(name);
}