Resolve LF license header issue 49/30049/2
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 1 Feb 2018 20:05:16 +0000 (15:05 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Fri, 2 Feb 2018 00:51:12 +0000 (19:51 -0500)
These were simple, we just forgot to remove the old license headers. Also
needed to add a missed fix for a JUnit test. Not sure how this made it past
verify.

Issue-ID: POLICY-552
Change-Id: I30610ba4f8440ee16d0a5c372985f50429d60a34
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
ONAP-PAP-REST/src/test/java/org/onap/policy/pap/ia/DbAuditCompareEntriesTest.java
ONAP-REST/src/main/java/org/onap/policy/rest/jpa/GroupEntity.java
ONAP-REST/src/main/java/org/onap/policy/rest/jpa/MicroServiceModels.java
ONAP-REST/src/main/java/org/onap/policy/rest/jpa/RuleAlgorithms.java
ONAP-REST/src/main/java/org/onap/policy/rest/jpa/SystemLogDB.java
PolicyEngineClient/src/test/java/org/onap/policyengine/GeneralTestClient.java
PolicyEngineClient/src/test/java/org/onap/policyengine/PolicyEngineTestClient.java

index 13255ba..049f721 100644 (file)
@@ -25,8 +25,8 @@ import static org.junit.Assert.assertTrue;
 
 import java.util.Date;
 import java.util.HashMap;
-import java.util.HashSet;
 import java.util.Properties;
+import java.util.Set;
 
 import javax.persistence.EntityManager;
 import javax.persistence.EntityManagerFactory;
@@ -150,7 +150,7 @@ public class DbAuditCompareEntriesTest {
                
                String className = null;
                //There is only one entry IntegrityAuditEntity, but we will check anyway
-               HashSet<String> classNameSet = dbDAO.getPersistenceClassNames();
+               Set<String> classNameSet = dbDAO.getPersistenceClassNames();
                for(String c : classNameSet){
                        if (c.equals("org.onap.policy.common.ia.jpa.IntegrityAuditEntity")){
                                className = c;
@@ -187,7 +187,7 @@ public class DbAuditCompareEntriesTest {
                myEntries.put("pdp1", entry1);
                theirEntries.put("pdp1", entry2);
                                
-               HashSet<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
+               Set<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
                
                /*
                 * Assert that there are no mismatches returned
@@ -246,7 +246,7 @@ public class DbAuditCompareEntriesTest {
                myEntries.put("pdp1", entry1);
                theirEntries.put("pdp1", entry2);
                                
-               HashSet<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
+               Set<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
                
                
                // Assert that there are no mismatches returned
@@ -306,7 +306,7 @@ public class DbAuditCompareEntriesTest {
                myEntries.put("pdp1", entry1);
                theirEntries.put("pdp1", entry2);
                                
-               HashSet<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
+               Set<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
                
                
                // Assert that there are no mismatches returned
@@ -363,7 +363,7 @@ public class DbAuditCompareEntriesTest {
                myEntries.put("pdp1", entry1);
                theirEntries.put("pdp1", entry2);
                                
-               HashSet<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
+               Set<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
                
                
                // Assert that there are no mismatches returned
@@ -420,7 +420,7 @@ public class DbAuditCompareEntriesTest {
                myEntries.put("pdp1", entry1);
                theirEntries.put("pdp1", entry2);
                                
-               HashSet<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
+               Set<Object> result = dbAudit.compareEntries(myEntries, theirEntries);
                
                
                // Assert that there are no mismatches returned
index a53ac2d..7bb9c54 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-
-/*
- *                        AT&T - PROPRIETARY
- *          THIS FILE CONTAINS PROPRIETARY INFORMATION OF
- *        AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN
- *             ACCORDANCE WITH APPLICABLE AGREEMENTS.
- *
- *          Copyright (c) 2013 AT&T Knowledge Ventures
- *              Unpublished and Not for Publication
- *                     All Rights Reserved
- */
 package org.onap.policy.rest.jpa;
 /*
  */
index ff4028f..699aa8a 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-
-/*
- *                        AT&T - PROPRIETARY
- *          THIS FILE CONTAINS PROPRIETARY INFORMATION OF
- *        AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN
- *             ACCORDANCE WITH APPLICABLE AGREEMENTS.
- *
- *          Copyright (c) 2015 AT&T Knowledge Ventures
- *              Unpublished and Not for Publication
- *                     All Rights Reserved
- */
 package org.onap.policy.rest.jpa;
 
 import java.io.Serializable;
index 9d0f005..ae73fd7 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-
-/*
- *                        AT&T - PROPRIETARY
- *          THIS FILE CONTAINS PROPRIETARY INFORMATION OF
- *        AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN
- *             ACCORDANCE WITH APPLICABLE AGREEMENTS.
- *
- *          Copyright (c) 2014 AT&T Knowledge Ventures
- *              Unpublished and Not for Publication
- *                     All Rights Reserved
- */
 package org.onap.policy.rest.jpa;
 
 import java.io.Serializable;
index 0747c83..324e92f 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-
-/*
- *                        AT&T - PROPRIETARY
- *          THIS FILE CONTAINS PROPRIETARY INFORMATION OF
- *        AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN
- *             ACCORDANCE WITH APPLICABLE AGREEMENTS.
- *
- *          Copyright (c) 2013 AT&T Knowledge Ventures
- *              Unpublished and Not for Publication
- *                     All Rights Reserved
- */
 package org.onap.policy.rest.jpa;
 
 import java.io.Serializable;
index e81939b..4c5a262 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-
-/*
- *                        AT&T - PROPRIETARY
- *          THIS FILE CONTAINS PROPRIETARY INFORMATION OF
- *        AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN
- *             ACCORDANCE WITH APPLICABLE AGREEMENTS.
- *
- *          Copyright (c) 2014 AT&T Knowledge Ventures
- *              Unpublished and Not for Publication
- *                     All Rights Reserved
- */
 package org.onap.policyengine;
 
 import java.io.FileNotFoundException;
index 39346ea..9ce4a2a 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-
-/*
- *                        AT&T - PROPRIETARY
- *          THIS FILE CONTAINS PROPRIETARY INFORMATION OF
- *        AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN
- *             ACCORDANCE WITH APPLICABLE AGREEMENTS.
- *
- *          Copyright (c) 2014 AT&T Knowledge Ventures
- *              Unpublished and Not for Publication
- *                     All Rights Reserved
- */
 package org.onap.policyengine;
 
 import java.io.IOException;