From 9297f70f8a75fae4c3b5ad8fe7324a5420895352 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Tue, 7 Mar 2017 18:05:43 +0100 Subject: Use StreamWriterGenerator.create instead of deprecated constructor Change-Id: Ief2224325fb7b9ec1dd3bbb21536f6306b68aa1a Signed-off-by: Marek Gradzki --- .../java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'infra/minimal-distribution/src') diff --git a/infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java b/infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java index e61b88432..2a1963c0a 100644 --- a/infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java +++ b/infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/schema/SerializerProvider.java @@ -20,6 +20,7 @@ import com.google.inject.Inject; import io.fd.honeycomb.infra.distro.ProviderTrait; import javassist.ClassPool; import org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec; +import org.opendaylight.yangtools.binding.data.codec.gen.impl.DataObjectSerializerGenerator; import org.opendaylight.yangtools.binding.data.codec.gen.impl.StreamWriterGenerator; import org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry; import org.opendaylight.yangtools.sal.binding.generator.impl.ModuleInfoBackedContext; @@ -33,8 +34,8 @@ public class SerializerProvider extends ProviderTrait