squid:S00117 - Local variable and method parameter names should comply with a naming convention.

This commit is contained in:
George Kankava
2016-02-01 18:30:56 +04:00
parent 831203e617
commit 86307a13be
6 changed files with 30 additions and 30 deletions

View File

@@ -29,9 +29,9 @@ public class Emitter {
ConcurrentLinkedQueue<Listener> callbacks = this.callbacks.get(event);
if (callbacks == null) {
callbacks = new ConcurrentLinkedQueue <Listener>();
ConcurrentLinkedQueue<Listener> _callbacks = this.callbacks.putIfAbsent(event, callbacks);
if (_callbacks != null) {
callbacks = _callbacks;
ConcurrentLinkedQueue<Listener> tempCallbacks = this.callbacks.putIfAbsent(event, callbacks);
if (tempCallbacks != null) {
callbacks = tempCallbacks;
}
}
callbacks.add(fn);