Fix more sonar issues in models: yaml to dao
[policy/models.git] / models-base / src / test / java / org / onap / policy / models / base / testconcepts / DummyPfModel.java
index 199a37f..4a30f59 100644 (file)
@@ -1,6 +1,7 @@
 /*-
  * ============LICENSE_START=======================================================
  *  Copyright (C) 2019 Nordix Foundation.
+ *  Modifications Copyright (C) 2019 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.
@@ -50,7 +51,7 @@ public class DummyPfModel extends PfModel {
     public DummyPfModel() {
         super();
         super.setKey(new PfConceptKey());
-        this.keyList = new ArrayList<PfKey>();
+        this.keyList = new ArrayList<>();
     }
 
     /**
@@ -61,7 +62,7 @@ public class DummyPfModel extends PfModel {
      */
     public DummyPfModel(final PfConceptKey key) {
         super(key);
-        this.keyList = new ArrayList<PfKey>();
+        this.keyList = new ArrayList<>();
     }
 
     /**
@@ -86,6 +87,7 @@ public class DummyPfModel extends PfModel {
 
     @Override
     public void register() {
+        // nothing to do
     }
 
     @Override