Avoid boxed primitive

This commit is contained in:
Raihaan Shouhell committed 2019-10-01 13:50:49 +08:00
1 parent 9f85074277
commit 61e87f1807
4 files changed
+4 -4

No files matched your search

@@ -289,7 +289,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
protected ClassLoader createClassLoader(List<File> paths, ClassLoader parent, Attributes atts) throws IOException {
if (atts != null) {
String usePluginFirstClassLoader = atts.getValue( "PluginFirstClassLoader" );
if (Boolean.valueOf( usePluginFirstClassLoader )) {
if (Boolean.parseBoolean( usePluginFirstClassLoader )) {
PluginFirstClassLoader classLoader = new PluginFirstClassLoader();
classLoader.setParentFirst( false );
classLoader.setParent( parent );