if(up_handler == null) { if(observer != null) { if(observer.up(evt, up_queue.size()) == false) { return; } } up(evt); return; } try { up_queue.add(evt); } catch(Exception e) { if(log.isWarnEnabled()) log.warn("exception: " + e); } }
if (up_handler == null) { if (observer != null) { if (observer.up(evt, up_queue.size()) == false) { return; } } up(evt); return; } try { up_queue.add(evt); } catch (Exception e) { if (log.isWarnEnabled()) { log.warn("exception: " + e); } } }
    protected void receiveUpEvent(Event evt) {        if(up_handler == null) {            if(observer != null) {                               // call debugger hook (if installed)                if(observer.up(evt, up_queue.size()) == false) {  // false means discard event                    return;                }            }            up(evt);            return;        }        try {            up_queue.add(evt);        }        catch(Exception e) {            if(log.isWarnEnabled()) log.warn("exception: " + e);        }    }