Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix various netconf warnings
[controller.git]
/
opendaylight
/
netconf
/
netconf-netty-util
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
netconf
/
nettyutil
/
handler
/
ChunkedFramingMechanismEncoderTest.java
diff --git
a/opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/ChunkedFramingMechanismEncoderTest.java
b/opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/ChunkedFramingMechanismEncoderTest.java
index 4488c5e1be63bc2f82bfb01575df6b5cbaa7be33..fd9a84d97a592d22605b675e6f4e6690499cb169 100644
(file)
--- a/
opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/ChunkedFramingMechanismEncoderTest.java
+++ b/
opendaylight/netconf/netconf-netty-util/src/test/java/org/opendaylight/controller/netconf/nettyutil/handler/ChunkedFramingMechanismEncoderTest.java
@@
-60,7
+60,7
@@
public class ChunkedFramingMechanismEncoderTest {
assertTrue(s.endsWith("\n#20\naaaaaaaaaaaaaaaaaaaa\n##\n"));
}
assertTrue(s.endsWith("\n#20\naaaaaaaaaaaaaaaaaaaa\n##\n"));
}
- private byte[] getByteArray(final int size) {
+ private
static
byte[] getByteArray(final int size) {
final byte[] bytes = new byte[size];
for (int i = 0; i < size; i++) {
bytes[i] = 'a';
final byte[] bytes = new byte[size];
for (int i = 0; i < size; i++) {
bytes[i] = 'a';