Merge pull request #47 from georgekankava/release/multiple-code-improvements-fix-1

Multiple code improvements: squid:S1118, squid:S1068
This commit is contained in:
Naoyuki Kanezawa
2016-02-24 17:28:22 +09:00
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 {