Fixed a stack overflow exception if one println()'ed
a service... since most service managers print their services in their own toString().
This commit is contained in:
parent
57dbf384a2
commit
e000d83ae7
@ -106,6 +106,6 @@ public abstract class AbstractService<S extends ServiceManager> implements Servi
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getClass().getName() + "[serviceManager=" + serviceManager + "]";
|
||||
return getClass().getName() + "[serviceManager.class=" + serviceManager.getClass() + "]";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user