1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-15 20:56:41 +03:00

Merge pull request #3060 from vanniktech/remove_synth_methods

Remove creation of synthetic accessor method.
This commit is contained in:
Jesse Wilson
2016-12-25 15:12:22 -05:00
committed by GitHub

View File

@@ -495,12 +495,15 @@ public final class RealWebSocket implements WebSocket, WebSocketReader.FrameCall
}
private final class PingRunnable implements Runnable {
PingRunnable() {
}
@Override public void run() {
writePingFrame();
}
}
private void writePingFrame() {
void writePingFrame() {
WebSocketWriter writer;
synchronized (this) {
if (failed) return;