We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DelegatingClassLoader
1 parent 6363fbf commit 5986a69Copy full SHA for 5986a69
core/src/main/java/hudson/util/DelegatingClassLoader.java
@@ -39,14 +39,10 @@ public DelegatingClassLoader(ClassLoader parent) {
39
* If the class could not be found
40
*/
41
@Override
42
- protected Class<?> loadClass(String name, boolean resolve)
43
- throws ClassNotFoundException
44
- {
+ protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException {
45
Class<?> c = null;
46
try {
47
- if (getParent() != null) {
48
- c = getParent().loadClass(name);
49
- }
+ c = getParent().loadClass(name);
50
} catch (ClassNotFoundException e) {
51
// ClassNotFoundException thrown if class not found
52
// from the non-null parent class loader
0 commit comments