Add a toString() method to TldLocatableURLClassloader
This commit is contained in:
parent
c82871b10f
commit
c6cf4d4fb5
|
@ -44,4 +44,18 @@ public class TldLocatableURLClassloader extends URLClassLoader
|
|||
{
|
||||
return _jarsWithTldsInside;
|
||||
}
|
||||
|
||||
public String toString()
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
if (_jarsWithTldsInside != null)
|
||||
{
|
||||
for (URL u:_jarsWithTldsInside)
|
||||
builder.append(" "+u.toString());
|
||||
return builder.toString();
|
||||
}
|
||||
else
|
||||
return super.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue