if ( selectionKey.attachment() == null){
if ( selectionKey.attachment() != null){
    public void enableSelectionKeys()    {        SelectionKey selectionKey;        int size = getKeysToEnable().size();        long currentTime = System.currentTimeMillis();        for (int i=0; i < size; i++) {            selectionKey = (SelectionKey)getKeysToEnable().poll();            selectionKey.interestOps(                    selectionKey.interestOps() | SelectionKey.OP_READ);            if ( selectionKey.attachment() == null){                ((JettyReadTask)selectionKey                        .attachment()).setIdleTime(currentTime);            }            keepAlivePipeline.trap(selectionKey);           }     }     