Replace tabs by spaces
This commit is contained in:
parent
220d95fe0d
commit
57a6d39014
@ -20,8 +20,9 @@ import java.io.OutputStream;
|
|||||||
import java.net.SocketAddress;
|
import java.net.SocketAddress;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link java.net.SocketAddress} implementation holding an {@link java.io.InputStream} and an {@link java.io.OutputStream} instance used as
|
* A {@link java.net.SocketAddress} implementation holding an
|
||||||
* "remote" address to connect to with a {@link IOStreamChannel}.
|
* {@link java.io.InputStream} and an {@link java.io.OutputStream} instance used
|
||||||
|
* as "remote" address to connect to with a {@link IOStreamChannel}.
|
||||||
*
|
*
|
||||||
* @author Daniel Bimschas
|
* @author Daniel Bimschas
|
||||||
* @author Dennis Pfisterer
|
* @author Dennis Pfisterer
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
*/
|
*/
|
||||||
package org.jboss.netty.channel.iostream;
|
package org.jboss.netty.channel.iostream;
|
||||||
|
|
||||||
|
|
||||||
import org.jboss.netty.channel.*;
|
import org.jboss.netty.channel.*;
|
||||||
|
|
||||||
import java.net.SocketAddress;
|
import java.net.SocketAddress;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A channel to an {@link java.io.InputStream} and an {@link java.io.OutputStream}.
|
* A channel to an {@link java.io.InputStream} and an
|
||||||
|
* {@link java.io.OutputStream}.
|
||||||
*
|
*
|
||||||
* @author Daniel Bimschas
|
* @author Daniel Bimschas
|
||||||
* @author Dennis Pfisterer
|
* @author Dennis Pfisterer
|
||||||
|
@ -26,8 +26,8 @@ import java.util.concurrent.ExecutorService;
|
|||||||
import static org.jboss.netty.channel.Channels.*;
|
import static org.jboss.netty.channel.Channels.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link org.jboss.netty.channel.ChannelSink} implementation which reads from an {@link java.io.InputStream} and
|
* A {@link org.jboss.netty.channel.ChannelSink} implementation which reads from
|
||||||
* writes to an {@link java.io.OutputStream}.
|
* an {@link java.io.InputStream} and writes to an {@link java.io.OutputStream}.
|
||||||
*
|
*
|
||||||
* @author Daniel Bimschas
|
* @author Daniel Bimschas
|
||||||
* @author Dennis Pfisterer
|
* @author Dennis Pfisterer
|
||||||
@ -168,10 +168,7 @@ public class IOStreamChannelSink extends AbstractChannelSink {
|
|||||||
future.setSuccess();
|
future.setSuccess();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException("Only ChannelBuffer objects are supported to be written onto the IOStreamChannelSink! " + "Please check if the encoder pipeline is configured correctly.");
|
||||||
"Only ChannelBuffer objects are supported to be written onto the IOStreamChannelSink! "
|
|
||||||
+ "Please check if the encoder pipeline is configured correctly."
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user