Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Clustering: Expose PathArgument writer
[controller.git]
/
opendaylight
/
md-sal
/
sal-clustering-commons
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
node
/
utils
/
stream
/
NormalizedNodeOutputStreamWriter.java
diff --git
a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NormalizedNodeOutputStreamWriter.java
b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NormalizedNodeOutputStreamWriter.java
index 055ccfe0ceeeed6ee101b60f4dcda6d0a2a83a9d..1ea94e9862a455bf7b4b5d2fa976d2c065525aa8 100644
(file)
--- a/
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NormalizedNodeOutputStreamWriter.java
+++ b/
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NormalizedNodeOutputStreamWriter.java
@@
-203,6
+203,7
@@
public class NormalizedNodeOutputStreamWriter implements NormalizedNodeStreamWri
@Override
public void close() throws IOException {
@Override
public void close() throws IOException {
+ flush();
}
@Override
}
@Override
@@
-278,7
+279,7
@@
public class NormalizedNodeOutputStreamWriter implements NormalizedNodeStreamWri
}
}
}
}
- p
rivate
void writePathArgument(YangInstanceIdentifier.PathArgument pathArgument) throws IOException {
+ p
ublic
void writePathArgument(YangInstanceIdentifier.PathArgument pathArgument) throws IOException {
byte type = PathArgumentTypes.getSerializablePathArgumentType(pathArgument);
byte type = PathArgumentTypes.getSerializablePathArgumentType(pathArgument);