Multile code improvements: squid:S1118, squid:S1068

This commit is contained in:
George Kankava
2016-02-18 19:39:17 +04:00
parent 873199549c
commit 634e8ef153
4 changed files with 6 additions and 12 deletions

View File

@@ -90,11 +90,6 @@ public class Socket extends Emitter {
*/
public static final String EVENT_TRANSPORT = "transport";
private static final Runnable noop = new Runnable() {
@Override
public void run() {}
};
/**
* The protocol version.
*/

View File

@@ -19,9 +19,6 @@ public class PollingXHR extends Polling {
private static final Logger logger = Logger.getLogger(PollingXHR.class.getName());
private Request sendXhr;
private Request pollXhr;
public PollingXHR(Transport.Options opts) {
super(opts);
}
@@ -92,7 +89,6 @@ public class PollingXHR extends Polling {
}
});
req.create();
this.sendXhr = req;
}
@Override
@@ -129,7 +125,6 @@ public class PollingXHR extends Polling {
}
});
req.create();
this.pollXhr = req;
}
public static class Request extends Emitter {