// Copyright 2014, Kevin Ko <kevin@faveset.com>

package com.faveset.khttp;

import java.io.IOException;
import java.nio.channels.SelectionKey;

/**
 * SelectorHandler callbacks are attached to SelectionKeys so that we have
 * a standardized interface for triggering actions.
 */
interface SelectorHandler {
    void onReady(SelectionKey key) throws IOException;
}

@@ -74,36 +74,8 @@
 p;%0A%0A
-import java.io.IOException;%0A
 impo
@@ -311,27 +311,8 @@
 key)
- throws IOException
 ;%0A%7D%0A

Remove unnecessary IOException.