Fixing logging format specifier bug
This commit is contained in:
parent
1f25e9cee1
commit
5d796488e2
|
@ -225,7 +225,7 @@ public class WebSocketAsyncConnection extends AbstractAsyncConnection implements
|
|||
finally
|
||||
{
|
||||
// TODO: does fillInterested need to be called again?
|
||||
fillInterested();
|
||||
// fillInterested();
|
||||
setCurrentConnection(null);
|
||||
bufferPool.release(buffer);
|
||||
}
|
||||
|
|
|
@ -434,6 +434,16 @@ public class Parser
|
|||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return String.format("%s(parser=%s)",getClass().getSimpleName());
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append("Parser [state=");
|
||||
builder.append(state);
|
||||
builder.append(", cursor=");
|
||||
builder.append(cursor);
|
||||
builder.append(", payloadLength=");
|
||||
builder.append(payloadLength);
|
||||
builder.append(", frame=");
|
||||
builder.append(frame);
|
||||
builder.append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue