From 9056ae7b51532ef185164aefe2fccaeabed6946c Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Mon, 4 Nov 2019 13:59:28 +0000 Subject: Fix sonarqube issues introduced by ZipSlip change Fix major and critical sonarqube issues introduced by ZipSlip change id I721f3d44b34fe6d242c9537f5a515ce1bb534c9a Change-Id: I3aa2cd4116936d715baba99a38d43aa40fd62a29 Issue-ID: SDC-1401 Signed-off-by: andre.schmid --- .../src/main/java/org/openecomp/sdc/common/utils/CommonUtil.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'openecomp-be') diff --git a/openecomp-be/lib/openecomp-common-lib/src/main/java/org/openecomp/sdc/common/utils/CommonUtil.java b/openecomp-be/lib/openecomp-common-lib/src/main/java/org/openecomp/sdc/common/utils/CommonUtil.java index f286dc1e76..a564928820 100644 --- a/openecomp-be/lib/openecomp-common-lib/src/main/java/org/openecomp/sdc/common/utils/CommonUtil.java +++ b/openecomp-be/lib/openecomp-common-lib/src/main/java/org/openecomp/sdc/common/utils/CommonUtil.java @@ -20,7 +20,6 @@ package org.openecomp.sdc.common.utils; import com.google.common.collect.Multimap; -import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; @@ -30,14 +29,11 @@ import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.Set; -import java.util.zip.ZipEntry; -import java.util.zip.ZipInputStream; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.io.FilenameUtils; import org.apache.commons.lang3.tuple.ImmutablePair; import org.apache.commons.lang3.tuple.Pair; import org.openecomp.core.utilities.file.FileContentHandler; -import org.openecomp.core.utilities.file.FileUtils; import org.openecomp.core.utilities.orchestration.OnboardingTypesEnum; import org.openecomp.sdc.common.errors.CoreException; import org.openecomp.sdc.common.errors.ErrorCategory; -- cgit 1.2.3-korg