From 87c95be02a8a4d77e165dede90777e811b59dcae Mon Sep 17 00:00:00 2001 From: Ravindra Bakkamanthala Date: Tue, 23 May 2017 14:56:12 -0400 Subject: Commit includes ControlLoopPolicy API and bugfixes Change-Id: I3e18bb8b4c31a0d908bb0cff4c85e2a3fb450a63 Signed-off-by: Ravindra Bakkamanthala --- .../src/test/java/org/openecomp/policy/xacml/test/TestBase.java | 6 +++--- .../openecomp/policy/xacml/test/json/ResponseConformanceTest.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ECOMP-XACML/src/test/java/org/openecomp/policy') diff --git a/ECOMP-XACML/src/test/java/org/openecomp/policy/xacml/test/TestBase.java b/ECOMP-XACML/src/test/java/org/openecomp/policy/xacml/test/TestBase.java index ef87b6796..3f2469bfd 100644 --- a/ECOMP-XACML/src/test/java/org/openecomp/policy/xacml/test/TestBase.java +++ b/ECOMP-XACML/src/test/java/org/openecomp/policy/xacml/test/TestBase.java @@ -109,7 +109,7 @@ public class TestBase extends SimpleFileVisitor { Path file; InputStream is; BufferedReader reader; - List attributes = new ArrayList(); + List attributes = new ArrayList<>(); public Generator(Path path) { this.file = path; @@ -193,7 +193,7 @@ public class TestBase extends SimpleFileVisitor { protected URL restURL = null; protected int loop = 1; protected PDPEngine engine = null; - protected List generators = new ArrayList(); + protected List generators = new ArrayList<>(); protected static DataTypeFactory dataTypeFactory = null; private long permits = 0; @@ -649,7 +649,7 @@ public class TestBase extends SimpleFileVisitor { // // Copy the request attributes // - List attributes = new ArrayList(); + List attributes = new ArrayList<>(); for (RequestAttributes a : request.getRequestAttributes()) { attributes.add(new StdMutableRequestAttributes(a)); } diff --git a/ECOMP-XACML/src/test/java/org/openecomp/policy/xacml/test/json/ResponseConformanceTest.java b/ECOMP-XACML/src/test/java/org/openecomp/policy/xacml/test/json/ResponseConformanceTest.java index e3c3b218a..735fa4602 100644 --- a/ECOMP-XACML/src/test/java/org/openecomp/policy/xacml/test/json/ResponseConformanceTest.java +++ b/ECOMP-XACML/src/test/java/org/openecomp/policy/xacml/test/json/ResponseConformanceTest.java @@ -320,7 +320,7 @@ public class ResponseConformanceTest { // private List getRequestsInDirectory(File directory) { - List fileList = new ArrayList(); + List fileList = new ArrayList<>(); File[] fileArray = directory.listFiles(); for (File f : fileArray) { -- cgit 1.2.3-korg