From b1740000e774ca633309e640f190cdcd74aa8241 Mon Sep 17 00:00:00 2001 From: Claudio David Gasparini Date: Tue, 1 Dec 2020 15:28:25 +0100 Subject: Fix checkstyle violations for "final" keyword Issue-ID: CPS-119 Signed-off-by: Claudio David Gasparini Change-Id: I871a361937ed30047fe89ff2d2b17499cddad56c --- cps-service/src/test/java/org/onap/cps/TestUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cps-service/src/test/java/org') diff --git a/cps-service/src/test/java/org/onap/cps/TestUtils.java b/cps-service/src/test/java/org/onap/cps/TestUtils.java index 07647520b0..3a2a4e3a55 100644 --- a/cps-service/src/test/java/org/onap/cps/TestUtils.java +++ b/cps-service/src/test/java/org/onap/cps/TestUtils.java @@ -35,7 +35,7 @@ public class TestUtils { * @throws IOException when there is an IO issue */ public static String getResourceFileContent(final String filename) throws IOException { - File file = new File(ClassLoader.getSystemClassLoader().getResource(filename).getFile()); + final File file = new File(ClassLoader.getSystemClassLoader().getResource(filename).getFile()); return new String(Files.readAllBytes(file.toPath())); } } -- cgit 1.2.3-korg