Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Cleaup Statistics northbound and add exmaples
[controller.git]
/
opendaylight
/
northbound
/
statistics
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
statistics
/
northbound
/
AllPortStatistics.java
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 e377de2b8836a10c1089eddb098533e2bf95820b..2117690d974326eb0be37b93c02f56914b3f05ac 100644
(file)
--- 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;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
-@XmlRootElement
+@XmlRootElement
(name = "list")
@XmlAccessorType(XmlAccessType.NONE)
@XmlAccessorType(XmlAccessType.NONE)
-
public class AllPortStatistics {
@XmlElement
List<PortStatistics> portStatistics;
//To satisfy JAXB
public class AllPortStatistics {
@XmlElement
List<PortStatistics> portStatistics;
//To satisfy JAXB
- private AllPortStatistics() {
- }
+ @SuppressWarnings("unused")
+
private AllPortStatistics() {
}
public AllPortStatistics(List<PortStatistics> portStatistics) {
this.portStatistics = portStatistics;
public AllPortStatistics(List<PortStatistics> portStatistics) {
this.portStatistics = portStatistics;