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
Yuta HIGUCHI
2014-10-20 22:17:20 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cac919cc13b73036d70e715e0524559f82ddcfaf
cac919cc
1 parent
485b478c
flushing just to be sure
Change-Id: Iebdc4b50a94e3247c15152c6c3148620739cc864
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
utils/misc/src/main/java/org/onlab/util/KryoNamespace.java
utils/misc/src/main/java/org/onlab/util/KryoNamespace.java
View file @
cac919c
...
...
@@ -171,6 +171,7 @@ public final class KryoNamespace implements KryoFactory {
Kryo
kryo
=
getKryo
();
try
{
kryo
.
writeClassAndObject
(
out
,
obj
);
out
.
flush
();
return
out
.
toBytes
();
}
finally
{
putKryo
(
kryo
);
...
...
@@ -188,6 +189,7 @@ public final class KryoNamespace implements KryoFactory {
Kryo
kryo
=
getKryo
();
try
{
kryo
.
writeClassAndObject
(
out
,
obj
);
out
.
flush
();
}
finally
{
putKryo
(
kryo
);
}
...
...
Please
register
or
login
to post a comment