fixes in AAIResponseMessageData.java 73/66073/1
authorasgar <sammoham@in.ibm.com>
Wed, 12 Sep 2018 10:58:08 +0000 (16:28 +0530)
committerasgar <sammoham@in.ibm.com>
Wed, 12 Sep 2018 10:58:17 +0000 (16:28 +0530)
Change-Id: I52a88526180acde91c6d9818d446e22ce175244d
Issue-ID: AAI-1569
Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
aai-core/src/main/java/org/onap/aai/domain/responseMessage/AAIResponseMessageData.java

index 49fb0c1..1f40906 100644 (file)
@@ -4,6 +4,8 @@
  * ================================================================================
  * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Modifications Copyright © 2018 IBM.
+ * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -39,39 +41,39 @@ import javax.xml.bind.annotation.XmlType;
 
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "", propOrder = {
-               "aaiResponseMessageDatum",
-               "any"
+        "aaiResponseMessageDatum",
+        "any"
 })
 @XmlRootElement(name = "aai-response-message-data", namespace = "http://org.onap.aai.inventory")
 public class AAIResponseMessageData {
 
-       @XmlElement(name = "aai-response-message-datum")
-       protected List<AAIResponseMessageDatum> aaiResponseMessageDatum;
-       @XmlAnyElement(lax = true)
-       protected List<Object> any;
+    @XmlElement(name = "aai-response-message-datum")
+    protected List<AAIResponseMessageDatum> aaiResponseMessageDatum;
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
 
-       /**
-        * Gets the AAI response message datum.
-        *
-        * @return the AAI response message datum
-        */
-       public List<AAIResponseMessageDatum> getAAIResponseMessageDatum() {
-               if (aaiResponseMessageDatum == null) {
-                       aaiResponseMessageDatum = new ArrayList<AAIResponseMessageDatum>();
-               }
-               return this.aaiResponseMessageDatum;
-       }
+    /**
+     * Gets the AAI response message datum.
+     *
+     * @return the AAI response message datum
+     */
+    public List<AAIResponseMessageDatum> getAAIResponseMessageDatum() {
+        if (aaiResponseMessageDatum == null) {
+            aaiResponseMessageDatum = new ArrayList<>();
+        }
+        return this.aaiResponseMessageDatum;
+    }
 
-       /**
-        * Gets the any.
-        *
-        * @return the any
-        */
-       public List<Object> getAny() {
-               if (any == null) {
-                       any = new ArrayList<Object>();
-               }
-               return this.any;
-       }
+    /**
+     * Gets the any.
+     *
+     * @return the any
+     */
+    public List<Object> getAny() {
+        if (any == null) {
+            any = new ArrayList<>();
+        }
+        return this.any;
+    }
 
 }