From 93638b5d9a498008a4dda9c27855586daf222691 Mon Sep 17 00:00:00 2001 From: Chris André Date: Mon, 25 May 2020 20:24:26 -0400 Subject: Java 11 migration: fixing problem on 'openecomp-tosca-converter-core' - Explicitely indicate the type associated with 'Collection' Issue-ID: SDC-3030 Signed-off-by: Chris Andre Change-Id: I557eb205598c337b75b06a2c7d705276aeb543a1 --- .../converter/impl/pnfd/PnfTransformationEngineParameterizedTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openecomp-be/lib') diff --git a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/java/org/openecomp/core/converter/impl/pnfd/PnfTransformationEngineParameterizedTest.java b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/java/org/openecomp/core/converter/impl/pnfd/PnfTransformationEngineParameterizedTest.java index a343e1aec0..1eb09a8b44 100644 --- a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/java/org/openecomp/core/converter/impl/pnfd/PnfTransformationEngineParameterizedTest.java +++ b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/java/org/openecomp/core/converter/impl/pnfd/PnfTransformationEngineParameterizedTest.java @@ -74,7 +74,7 @@ public class PnfTransformationEngineParameterizedTest { @Parameterized.Parameters(name = "{index}: input: {0}, descriptor: {4}, output: {2}") - public static Collection input() throws IOException, URISyntaxException { + public static Collection input() throws IOException, URISyntaxException { return Files.list(getPathFromClasspath(TEST_CASES_PATH)).map(path -> { try { return buildTestCase(path); @@ -84,7 +84,7 @@ public class PnfTransformationEngineParameterizedTest { }).filter(Objects::nonNull).flatMap(Collection::stream).collect(Collectors.toList()); } - private static Collection buildTestCase(final Path testCasePath) throws IOException { + private static Collection buildTestCase(final Path testCasePath) throws IOException { final Path inputFilePath = Files.list(testCasePath) .filter(path -> path.toFile().getName().endsWith("yaml")) .findAny().orElse(null); -- cgit 1.2.3-korg