* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.restconf.nb.rfc8040.streams;
+package org.opendaylight.restconf.server.mdsal.streams.notif;
import com.google.common.annotations.VisibleForTesting;
import com.google.gson.stream.JsonWriter;
import javax.xml.xpath.XPathExpressionException;
import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.mdsal.dom.api.DOMNotification;
+import org.opendaylight.restconf.server.spi.TextParameters;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev170126.$YangModuleInfoImpl;
import org.opendaylight.yangtools.yang.data.codec.gson.JSONCodecFactorySupplier;
import org.opendaylight.yangtools.yang.data.codec.gson.JSONNormalizedNodeStreamWriter;
}
@Override
- String createText(final TextParameters params, final EffectiveModelContext schemaContext,
+ protected String createText(final TextParameters params, final EffectiveModelContext schemaContext,
final DOMNotification input, final Instant now) throws IOException {
try (var writer = new StringWriter()) {
try (var jsonWriter = new JsonWriter(writer)) {