mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 09:06:03 +00:00
Avoid boxed primitive
This commit is contained in:
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 );
|
||||
|
||||
Reference in new issue
Block a user