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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user