summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2022-04-12 04:16:04 +0000
committerGerrit Code Review <gerrit@onap.org>2022-04-12 04:16:04 +0000
commitc136a9b00528de06efc7434d1afe00fe61af565f (patch)
treeac81c0eb900aa5f238934f42fb71e588aaffa103
parent062000f0519aa00ff288139b2f22d28e2bc31998 (diff)
parente671f44cf0ad1ceba42ef7727d1ac46502c49b92 (diff)
Merge "Vulnerability handled for zip files in code"
-rw-r--r--csarvalidation/src/main/java/org/onap/validation/csar/CsarUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/csarvalidation/src/main/java/org/onap/validation/csar/CsarUtil.java b/csarvalidation/src/main/java/org/onap/validation/csar/CsarUtil.java
index 7d48b06..bea5aae 100644
--- a/csarvalidation/src/main/java/org/onap/validation/csar/CsarUtil.java
+++ b/csarvalidation/src/main/java/org/onap/validation/csar/CsarUtil.java
@@ -91,7 +91,7 @@ public final class CsarUtil {
if (!file.getParentFile().exists()) {
FileUtil.createDirectory(file.getParentFile().getAbsolutePath());
}
- try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(file))){
+ try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(file))){// NOSONAR
while (true) {
int length = input.read(buffer);
if (length == -1) {