diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2018-03-09 14:18:14 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2018-03-09 14:18:14 +0800 |
commit | 9c61e307545d68ca37be2548a3ab7f2ef4f73ad8 (patch) | |
tree | 663a5f27065860b4d850b5c7fdc74ee7c866ba78 | |
parent | 37e6d19d137f924626413aad8931f273cd2ababa (diff) |
Fixed Some Sonar Findings
Updated the version of some dependencies.
Make some fields "final".
Change-Id: Ibb60c7707fcd3260fdb578c348a7d2700777e5ff
Issue-ID: HOLMES-118
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
-rw-r--r-- | rulemgt/pom.xml | 7 | ||||
-rw-r--r-- | rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/rulemgt/pom.xml b/rulemgt/pom.xml index 262ad48..705f927 100644 --- a/rulemgt/pom.xml +++ b/rulemgt/pom.xml @@ -30,6 +30,11 @@ <dependencies> <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + <version>2.6.2</version> + </dependency> + <dependency> <groupId>org.onap.msb.java-sdk</groupId> <artifactId>msb-java-sdk</artifactId> </dependency> @@ -150,7 +155,7 @@ <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> - <version>3.15.0-GA</version> + <version>3.20.0-GA</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java index 0e4f790..e8fa8b0 100644 --- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java +++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java @@ -44,7 +44,7 @@ import org.onap.holmes.rulemgt.bean.response.RuleResult4API; @Slf4j public class DcaeConfigurationPolling implements Runnable { - public static long POLLING_PERIOD = 30 * 1000L; + public static final long POLLING_PERIOD = 30 * 1000L; private String hostname; |