Merge "Add all topology models to features"
[yangtools.git] / yang / yang-data-codec-gson / src / main / java / org / opendaylight / yangtools / yang / data / codec / gson / LeafNodeDataWithSchema.java
index c63422af7313491b8b7067ffac8b2b33c5551c89..fc8c814c3f4d987852e9e03f609702aea33fc0ea 100644 (file)
@@ -19,8 +19,8 @@ class LeafNodeDataWithSchema extends SimpleNodeDataWithSchema {
     }
 
     @Override
-    protected void writeToStream(final NormalizedNodeStreamWriter nnStreamWriter) throws IOException {
-        nnStreamWriter.leafNode(provideNodeIdentifier(), getValue());
+    public void write(final NormalizedNodeStreamWriter writer) throws IOException {
+        writer.leafNode(provideNodeIdentifier(), getValue());
     }
 
 }