Fix cost field bug and several other bugs.
[alto.git] / alto-commons / src / main / java / org / opendaylight / alto / commons / types / rfc7285 / RFC7285Endpoint.java
index 8507ba630c3afe86b6b5dd7e14c637e801e866e3..487fe46bc2d2a1469bdcaa0a9d263ccf79a189fa 100644 (file)
@@ -37,11 +37,11 @@ public class RFC7285Endpoint {
 
     public static class PropertyRequest {
 
-        @JsonProperty("properties")
-        public List<String> properties = new ArrayList<String>();
+        @JsonProperty(value="properties")
+        public List<String> properties;
 
-        @JsonProperty("endpoints")
-        public List<String> endpoints = new ArrayList<String>();
+        @JsonProperty(value="endpoints")
+        public List<String> endpoints;
     }
 
     public static class PropertyResponse {