summaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/main/java/com/yahoo/jdisc/handler/ContentChannel.java
diff options
context:
space:
mode:
Diffstat (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/handler/ContentChannel.java')
-rw-r--r--jdisc_core/src/main/java/com/yahoo/jdisc/handler/ContentChannel.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/ContentChannel.java b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/ContentChannel.java
index 9fa78368f62..e01a3c312be 100644
--- a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/ContentChannel.java
+++ b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/ContentChannel.java
@@ -21,7 +21,7 @@ import java.nio.ByteBuffer;
* requirement is regardless of any errors that may occur while calling any of its other methods or its derived {@link
* CompletionHandler}s.
*
- * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a>
+ * @author Simon Thoresen
*/
public interface ContentChannel {
@@ -33,7 +33,7 @@ public interface ContentChannel {
* @param buf The {@link ByteBuffer} to schedule for write. No further calls can be made to this buffer.
* @param handler The {@link CompletionHandler} to call after the write has been executed.
*/
- public void write(ByteBuffer buf, CompletionHandler handler);
+ void write(ByteBuffer buf, CompletionHandler handler);
/**
* Closes this ContentChannel. After a channel is closed, any further attempt to invoke {@link #write(ByteBuffer,
@@ -45,5 +45,6 @@ public interface ContentChannel {
*
* @param handler The {@link CompletionHandler} to call after the close has been executed.
*/
- public void close(CompletionHandler handler);
+ void close(CompletionHandler handler);
+
}