Issue #207 - Adding toString()
This commit is contained in:
parent
6cfcbeffad
commit
92741b2116
|
@ -97,4 +97,10 @@ public class AtomicConnectionState
|
||||||
{
|
{
|
||||||
return state.compareAndSet(State.CONNECTED, State.OPEN);
|
return state.compareAndSet(State.CONNECTED, State.OPEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString()
|
||||||
|
{
|
||||||
|
return String.format("%s[%s]", this.getClass().getSimpleName(), state.get());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue