Move this constructor to comply with Java Code Conventions 85/94085/1
authorThugutla sailakshmi <tsaila10@in.ibm.com>
Thu, 22 Aug 2019 07:55:44 +0000 (13:25 +0530)
committerThugutla sailakshmi <tsaila10@in.ibm.com>
Thu, 22 Aug 2019 09:03:01 +0000 (14:33 +0530)
Move this constructor to comply with Java Code Conventions

Issue-ID: VID-561
Change-Id: I50e166bebe331db6b1e46f06c156791fa41b500b
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
vid-app-common/src/main/java/org/onap/vid/model/RequestReferencesContainer.java

index cc8fff6..cd6942e 100644 (file)
@@ -3,6 +3,7 @@
  * VID
  * ================================================================================
  * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2019 IBM.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -33,7 +34,11 @@ public class RequestReferencesContainer {
 
     @JsonIgnore
     private Map<String, Object> additionalProperties = new HashMap<>();
-
+    
+    public RequestReferencesContainer(@JsonProperty("requestReferences") RequestReferences requestReferences) {
+        this.requestReferences = requestReferences;
+    }
+    
     @JsonAnyGetter
     public Map<String, Object> getAdditionalProperties() {
         return this.additionalProperties;
@@ -44,10 +49,6 @@ public class RequestReferencesContainer {
         this.additionalProperties.put(name, value);
     }
 
-    public RequestReferencesContainer(@JsonProperty("requestReferences") RequestReferences requestReferences) {
-        this.requestReferences = requestReferences;
-    }
-
     public RequestReferences getRequestReferences() {
         return requestReferences;
     }