Update PodSessionState.toString()

This commit is contained in:
Bart Sopers 2019-12-08 16:48:38 +01:00
parent 17ad3c41e9
commit 67d3ee772b

View file

@ -67,7 +67,7 @@ public class PodSessionState extends PodState {
public void setStateChangedHandler(PodStateChangedHandler handler) { public void setStateChangedHandler(PodStateChangedHandler handler) {
// FIXME this is an ugly workaround for not being able to serialize the PodStateChangedHandler // FIXME this is an ugly workaround for not being able to serialize the PodStateChangedHandler
if(stateChangedHandler != null) { if (stateChangedHandler != null) {
throw new IllegalStateException("A PodStateChangedHandler has already been already registered"); throw new IllegalStateException("A PodStateChangedHandler has already been already registered");
} }
stateChangedHandler = handler; stateChangedHandler = handler;
@ -256,6 +256,7 @@ public class PodSessionState extends PodState {
", pmVersion=" + pmVersion + ", pmVersion=" + pmVersion +
", lot=" + lot + ", lot=" + lot +
", tid=" + tid + ", tid=" + tid +
", reservoirLevel=" + reservoirLevel +
", suspended=" + suspended + ", suspended=" + suspended +
", timeZone=" + timeZone + ", timeZone=" + timeZone +
", nonceState=" + nonceState + ", nonceState=" + nonceState +