Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Madan Jampani
2014-10-07 17:51:15 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cc3295c80b91ee774a9c7d294ebbd5125301e6e0
cc3295c8
1 parent
260a778f
Removed redundant serialization block
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
utils/netty/src/main/java/org/onlab/netty/MessageEncoder.java
utils/netty/src/main/java/org/onlab/netty/MessageEncoder.java
View file @
cc3295c
...
...
@@ -36,11 +36,6 @@ public class MessageEncoder extends MessageToByteEncoder<InternalMessage> {
// write preamble
out
.
writeBytes
(
PREAMBLE
);
try
{
SERIALIZER
.
encode
(
message
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
byte
[]
payload
=
SERIALIZER
.
encode
(
message
);
// write payload length
...
...
Please
register
or
login
to post a comment