Fixed the Sonar technical debt.
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / adapter / RainyDayParams.java
index f465e86..ce31b88 100644 (file)
@@ -1,6 +1,25 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP-REST
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
 package org.onap.policy.rest.adapter;
 
-import java.util.ArrayList;
 import java.util.List;
 
 public class RainyDayParams {
@@ -8,7 +27,7 @@ public class RainyDayParams {
        private String vnfType;
        private String bbid;
        private String workstep;
-       private ArrayList<Object> treatmentTableChoices;
+       private List<Object> treatmentTableChoices;
        private List<String> errorcode;
        private List<String> treatment;
 
@@ -63,13 +82,13 @@ public class RainyDayParams {
        /**
         * @return the treatmentTableChoices
         */
-       public ArrayList<Object> getTreatmentTableChoices() {
+       public List<Object> getTreatmentTableChoices() {
                return treatmentTableChoices;
        }
        /**
         * @param treatmentTableChoices the treatmentTableChoices to set
         */
-       public void setTreatmentTableChoices(ArrayList<Object> treatmentTableChoices) {
+       public void setTreatmentTableChoices(List<Object> treatmentTableChoices) {
                this.treatmentTableChoices = treatmentTableChoices;
        }
        /**