Remove MOXyJsonProvider from resources 02/67202/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 15 Jan 2018 17:52:18 +0000 (18:52 +0100)
committerMichael Vorburger <vorburger@redhat.com>
Tue, 16 Jan 2018 12:48:50 +0000 (13:48 +0100)
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 <robert.varga@pantheon.tech>
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronNorthboundRSApplication.java

index 821063b03a22a2709b17e214ad8e959c7eb9fc11..90e57edeea98d13a6432ec96c38cb8266708f9f6 100644 (file)
@@ -60,7 +60,6 @@ public final class NeutronNorthboundRSApplication extends Application {
         classes.add(NeutronTapServiceNorthbound.class);
         classes.add(NeutronTapFlowNorthbound.class);
 
-        classes.add(MOXyJsonProvider.class);
         return classes;
     }