X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fstatistics%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fstatistics%2Fnorthbound%2FAllPortStatistics.java;h=2117690d974326eb0be37b93c02f56914b3f05ac;hb=edf5bfcee83c750853253ccfd991ba7000f5f65b;hp=e377de2b8836a10c1089eddb098533e2bf95820b;hpb=7c3362df780f30a47d0f6a7b7695360bbb5513bc;p=controller.git diff --git a/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllPortStatistics.java b/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllPortStatistics.java index e377de2b88..2117690d97 100644 --- a/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllPortStatistics.java +++ b/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllPortStatistics.java @@ -15,15 +15,14 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; -@XmlRootElement +@XmlRootElement(name = "list") @XmlAccessorType(XmlAccessType.NONE) - public class AllPortStatistics { @XmlElement List portStatistics; //To satisfy JAXB - private AllPortStatistics() { - } + @SuppressWarnings("unused") + private AllPortStatistics() {} public AllPortStatistics(List portStatistics) { this.portStatistics = portStatistics;