Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Stop SubtreeFitler from rereading reply even if no filter element is present."
[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 d4aab036be21df1734f4f88bc590b35030a71d21..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
@@
-66,7
+66,7
@@
public class NormalizedNodeOutputStreamWriter implements NormalizedNodeStreamWri
output = new DataOutputStream(stream);
}
output = new DataOutputStream(stream);
}
- public NormalizedNodeOutputStreamWriter(DataOutput output)
throws IOException
{
+ public NormalizedNodeOutputStreamWriter(DataOutput output) {
this.output = Preconditions.checkNotNull(output);
}
this.output = Preconditions.checkNotNull(output);
}
@@
-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);