aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/reception-plugins
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
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')
-rw-r--r--plugins/reception-plugins/pom.xml2
-rw-r--r--plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/reception-plugins/pom.xml b/plugins/reception-plugins/pom.xml
index 94efaa3c..cd2fc358 100644
--- a/plugins/reception-plugins/pom.xml
+++ b/plugins/reception-plugins/pom.xml
@@ -2,6 +2,7 @@
============LICENSE_START=======================================================
Copyright (C) 2018 Ericsson. All rights reserved.
Modifications copyright (C) 2020 Bell Canada. All rights reserved.
+ Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -39,7 +40,6 @@
<dependency>
<groupId>org.onap.sdc.sdc-distribution-client</groupId>
<artifactId>sdc-distribution-client</artifactId>
- <version>1.4.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
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
*/