init need not return anything. also this function not used by other places. (#2597)
This commit is contained in:
parent
ec9bea9d43
commit
da773973be
|
|
@ -89,10 +89,9 @@ public class AgentClassLoader extends ClassLoader {
|
|||
/**
|
||||
* Init the default
|
||||
*
|
||||
* @return
|
||||
* @throws AgentPackageNotFoundException
|
||||
*/
|
||||
public static AgentClassLoader initDefaultLoader() throws AgentPackageNotFoundException {
|
||||
public static void initDefaultLoader() throws AgentPackageNotFoundException {
|
||||
if (DEFAULT_LOADER == null) {
|
||||
synchronized (AgentClassLoader.class) {
|
||||
if (DEFAULT_LOADER == null) {
|
||||
|
|
@ -100,7 +99,6 @@ public class AgentClassLoader extends ClassLoader {
|
|||
}
|
||||
}
|
||||
}
|
||||
return getDefault();
|
||||
}
|
||||
|
||||
public AgentClassLoader(ClassLoader parent) throws AgentPackageNotFoundException {
|
||||
|
|
|
|||
Loading…
Reference in New Issue