GeezerVison is showing github.com — Automatic clean-up with Eclipse · netty/netty@e1faea0
File tree
Expand file treeCollapse file tree
Open diff view settings
main/java/io/netty/handler/codec/spdy test/java/io/netty/handler/codec
codec/src/main/java/io/netty/handler/codec example/src/main/java/io/netty/example http/websocketx/sslserver
handler/src/test/java/io/netty/handler/stream testsuite/src/test/java/io/netty/testsuite transport/src/main/java/io/netty/channel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyFrameDecoder.java +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
15 | 15 | */ |
16 | 16 | package io.netty.handler.codec.spdy; |
17 | 17 |
|
| 18 | +import static io.netty.handler.codec.spdy.SpdyCodecUtil.*; |
18 | 19 | import io.netty.buffer.ByteBuf; |
19 | 20 | import io.netty.buffer.Unpooled; |
20 | 21 | import io.netty.channel.ChannelHandlerContext; |
21 | 22 | import io.netty.handler.codec.ByteToMessageDecoder; |
22 | 23 | import io.netty.handler.codec.TooLongFrameException; |
23 | 24 |
|
24 | | -import static io.netty.handler.codec.spdy.SpdyCodecUtil.*; |
25 | | - |
26 | 25 | /** |
27 | 26 | * Decodes {@link ByteBuf}s into SPDY Data and Control Frames. |
28 | 27 | */ |
|
Collapse file
Copy file name to clipboardExpand all lines: codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyFrameEncoder.java +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
15 | 15 | */ |
16 | 16 | package io.netty.handler.codec.spdy; |
17 | 17 |
|
| 18 | +import static io.netty.handler.codec.spdy.SpdyCodecUtil.*; |
18 | 19 | import io.netty.buffer.ByteBuf; |
19 | 20 | import io.netty.buffer.Unpooled; |
20 | 21 | import io.netty.channel.ChannelFuture; |
|
25 | 26 |
|
26 | 27 | import java.util.Set; |
27 | 28 |
|
28 | | -import static io.netty.handler.codec.spdy.SpdyCodecUtil.*; |
29 | | - |
30 | 29 | /** |
31 | 30 | * Encodes a SPDY Data or Control Frame into a {@link ByteBuf}. |
32 | 31 | */ |
|
Collapse file
Copy file name to clipboardExpand all lines: codec-http/src/test/java/io/netty/handler/codec/http/CookieDecoderTest.java +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
15 | 15 | */ |
16 | 16 | package io.netty.handler.codec.http; |
17 | 17 |
|
18 | | -import org.junit.Test; |
| 18 | +import static org.junit.Assert.*; |
19 | 19 |
|
20 | 20 | import java.util.Calendar; |
21 | 21 | import java.util.Date; |
22 | 22 | import java.util.Iterator; |
23 | 23 | import java.util.Set; |
24 | 24 | import java.util.TimeZone; |
25 | 25 |
|
26 | | -import static org.junit.Assert.*; |
| 26 | +import org.junit.Test; |
27 | 27 |
|
28 | 28 | public class CookieDecoderTest { |
29 | 29 | @Test |
|
Collapse file
Copy file name to clipboardExpand all lines: codec-http/src/test/java/io/netty/handler/codec/spdy/SpdySessionHandlerTest.java +3-2Lines changed: 3 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
20 | 20 | import io.netty.channel.embedded.EmbeddedMessageChannel; |
21 | 21 | import io.netty.logging.InternalLogger; |
22 | 22 | import io.netty.logging.InternalLoggerFactory; |
23 | | -import org.junit.Assert; |
24 | | -import org.junit.Test; |
25 | 23 |
|
26 | 24 | import java.util.List; |
27 | 25 | import java.util.Map; |
28 | 26 |
|
| 27 | +import org.junit.Assert; |
| 28 | +import org.junit.Test; |
| 29 | + |
29 | 30 | public class SpdySessionHandlerTest { |
30 | 31 |
|
31 | 32 | private static final InternalLogger logger = |
|
Collapse file
Copy file name to clipboardExpand all lines: codec/src/main/java/io/netty/handler/codec/marshalling/CompatibleMarshallingDecoder.java +3-2Lines changed: 3 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
21 | 21 | import io.netty.handler.codec.ReplayingDecoder; |
22 | 22 | import io.netty.handler.codec.TooLongFrameException; |
23 | 23 | import io.netty.util.VoidEnum; |
24 | | -import org.jboss.marshalling.ByteInput; |
25 | | -import org.jboss.marshalling.Unmarshaller; |
26 | 24 |
|
27 | 25 | import java.io.ObjectStreamConstants; |
28 | 26 |
|
| 27 | +import org.jboss.marshalling.ByteInput; |
| 28 | +import org.jboss.marshalling.Unmarshaller; |
| 29 | + |
29 | 30 | /** |
30 | 31 | * {@link ReplayingDecoder} which use an {@link Unmarshaller} to read the Object out of the {@link ByteBuf}. |
31 | 32 | * |
|
Collapse file
Copy file name to clipboardExpand all lines: codec/src/main/java/io/netty/handler/codec/marshalling/LimitingByteInput.java +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
15 | 15 | */ |
16 | 16 | package io.netty.handler.codec.marshalling; |
17 | 17 |
|
18 | | -import org.jboss.marshalling.ByteInput; |
19 | | - |
20 | 18 | import java.io.IOException; |
21 | 19 |
|
| 20 | +import org.jboss.marshalling.ByteInput; |
| 21 | + |
22 | 22 | /** |
23 | 23 | * {@link ByteInput} implementation which wraps another {@link ByteInput} and throws a {@link TooBigObjectException} |
24 | 24 | * if the read limit was reached. |
|
Collapse file
Copy file name to clipboardExpand all lines: codec/src/main/java/io/netty/handler/codec/protobuf/ProtobufVarint32FrameDecoder.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
17 | 17 |
|
18 | 18 | import io.netty.buffer.ByteBuf; |
19 | 19 | import io.netty.channel.ChannelHandlerContext; |
20 | | -import io.netty.handler.codec.CorruptedFrameException; |
21 | 20 | import io.netty.handler.codec.ByteToMessageDecoder; |
| 21 | +import io.netty.handler.codec.CorruptedFrameException; |
22 | 22 |
|
23 | 23 | import com.google.protobuf.CodedInputStream; |
24 | 24 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: example/src/main/java/io/netty/example/factorial/BigIntegerDecoder.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
17 | 17 |
|
18 | 18 | import io.netty.buffer.ByteBuf; |
19 | 19 | import io.netty.channel.ChannelHandlerContext; |
20 | | -import io.netty.handler.codec.CorruptedFrameException; |
21 | 20 | import io.netty.handler.codec.ByteToMessageDecoder; |
| 21 | +import io.netty.handler.codec.CorruptedFrameException; |
22 | 22 |
|
23 | 23 | import java.math.BigInteger; |
24 | 24 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: example/src/main/java/io/netty/example/http/websocketx/sslserver/WebSocketSslServerSslContext.java +3-2Lines changed: 3 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
18 | 18 | import io.netty.logging.InternalLogger; |
19 | 19 | import io.netty.logging.InternalLoggerFactory; |
20 | 20 |
|
21 | | -import javax.net.ssl.KeyManagerFactory; |
22 | | -import javax.net.ssl.SSLContext; |
23 | 21 | import java.io.FileInputStream; |
24 | 22 | import java.security.KeyStore; |
25 | 23 | import java.security.Security; |
26 | 24 |
|
| 25 | +import javax.net.ssl.KeyManagerFactory; |
| 26 | +import javax.net.ssl.SSLContext; |
| 27 | + |
27 | 28 | /** |
28 | 29 | * Creates a {@link SSLContext} for just server certificates. |
29 | 30 | */ |
|