commit | 9f9131575d2e2b1002a3e108f7793a97fa7652ab | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Mon Apr 06 12:17:11 2020 -0400 |
committer | Jim Hahn <jrh3@att.com> | Mon Apr 06 13:00:04 2020 -0400 |
tree | 68400e6ac1fb32f01f8338803a7d72bdb41215b1 | |
parent | a56d3929f2387252525577fb36f9e03933064b8f [diff] |
Address sonar issues in ONAP-logging Addressed the following sonar issues in ONAP-logging: - use Map instead of ConcurrentHashMap - remove unusued fields - use Map.computeIfAbsent() instead of get()/put() pair - readObject is unsafe - use try-with-resources - junit should assert something Also removed some unused imports. Issue-ID: POLICY-2305 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I3480a55da4d0e771f8083c97770a6c9707d871f7 Signed-off-by: Jim Hahn <jrh3@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains ONAP common code, which is shared by 'policy-drools-pdp' and 'policy-engine'. To build it: