From: Robert Varga Date: Mon, 15 Jan 2018 17:52:18 +0000 (+0100) Subject: Remove MOXyJsonProvider from resources X-Git-Tag: release/oxygen~9^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=3c0dca4ea5eb066d1ed222b1aa96db24d3538c9a;p=neutron.git Remove MOXyJsonProvider from resources Fixes the following warning: 2018-01-15 18:50:26,021 | WARN | ender-2-thread-1 | ResourceConfig | 31 - com.sun.jersey.jersey-server - 1.17.0 | Class org.eclipse.persistence.jaxb.rs.MOXyJsonProvider is ignored as an instance is registered in the set of singletons Change-Id: I57ef62ba1578c9c4ae2dd2c213a91d47b5230a23 Signed-off-by: Robert Varga --- diff --git a/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronNorthboundRSApplication.java b/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronNorthboundRSApplication.java index 821063b03..90e57edee 100644 --- a/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronNorthboundRSApplication.java +++ b/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronNorthboundRSApplication.java @@ -60,7 +60,6 @@ public final class NeutronNorthboundRSApplication extends Application { classes.add(NeutronTapServiceNorthbound.class); classes.add(NeutronTapFlowNorthbound.class); - classes.add(MOXyJsonProvider.class); return classes; }