Issue #207 - Adding toString()

This commit is contained in:
Joakim Erdfelt 2017-05-11 10:59:32 -07:00
parent 6cfcbeffad
commit 92741b2116
1 changed files with 6 additions and 0 deletions

View File

@ -97,4 +97,10 @@ public class AtomicConnectionState
{
return state.compareAndSet(State.CONNECTED, State.OPEN);
}
@Override
public String toString()
{
return String.format("%s[%s]", this.getClass().getSimpleName(), state.get());
}
}