summaryrefslogtreecommitdiffstats
path: root/plugins/reception-plugins/src/main/java/org
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-06-18 14:31:38 -0400
committerJim Hahn <jrh3@att.com>2021-06-18 14:32:18 -0400
commite58c1431cdea1627b2c2043b5d932ad90730481d (patch)
treeec059ee4515604e7e70d208ffe11f6a6e2b24805 /plugins/reception-plugins/src/main/java/org
parent6e2e640ea348fb4e98552a8d2672c216ce806a71 (diff)
Fix new checkstyle issues in distribution
The new version of checkstyle identified new issues. Fixed those. Issue-ID: POLICY-3286 Change-Id: I15adece9fa2e136108febc0d74af6c0d55f975c5 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'plugins/reception-plugins/src/main/java/org')
-rw-r--r--plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java
index af30c1f1..fe7f2dcc 100644
--- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java
+++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java
@@ -101,8 +101,9 @@ public class PolicyDecoderFileInCsarToPolicy implements PolicyDecoder<Csar, Tosc
* ensures validation of entries in the Zipfile. Attempts to solve path
* injection java security issues.
*
- * @param entry the ZipEntry to check
+ * @param entryName name of the ZipEntry to check
* @param csarPath Absolute path to the csar the ZipEntry is in
+ * @param entrySize size of the ZipEntry
* @return true if no injection detected, and it is a policy type or policy file.
* @throws PolicyDecodingException if the file size is too large
*/