Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Reorder public/private modifiers as per JLS. (fixes sonar warnings)"
[controller.git]
/
opendaylight
/
northbound
/
statistics
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
statistics
/
northbound
/
AllFlowStatistics.java
diff --git
a/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllFlowStatistics.java
b/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllFlowStatistics.java
index 7f37afec21eb4c2e1201af6696c4076e2beda05b..18627285eaa7f7d834ccd96966d4691fa67101bf 100644
(file)
--- a/
opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllFlowStatistics.java
+++ b/
opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllFlowStatistics.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 AllFlowStatistics {
@XmlElement
List<FlowStatistics> flowStatistics;
//To satisfy JAXB
public class AllFlowStatistics {
@XmlElement
List<FlowStatistics> flowStatistics;
//To satisfy JAXB
- private AllFlowStatistics() {
- }
+ @SuppressWarnings("unused")
+
private AllFlowStatistics() {
}
public AllFlowStatistics(List<FlowStatistics> flowStatistics) {
this.flowStatistics = flowStatistics;
public AllFlowStatistics(List<FlowStatistics> flowStatistics) {
this.flowStatistics = flowStatistics;