commit | 927d8e01915733baa86e0fb9842d29487265817e | [log] [tgz] |
---|---|---|
author | Taka Cho <takamune.cho@att.com> | Thu Jun 25 12:10:00 2020 -0400 |
committer | Taka Cho <takamune.cho@att.com> | Fri Jun 26 10:54:27 2020 -0400 |
tree | e077ac2a0764dad6a2e2655bc702a30e9c3e46e8 | |
parent | 69564b4c19a8c890ef7a11344abd246f90af2506 [diff] |
replace an emptyArray and computeIfAbsent instead - some methods should return an empty array. - avoid the result of a java.util.Map.get() against null before proceeding with adding or changing the value in the map. - Declaring a variable only to immediately return or throw it is a bad practice. Issue-ID: POLICY-2616 Change-Id: I21a55c5ea716d8f64dc9155f84cabcfbcf5a22e0 Signed-off-by: Taka Cho <takamune.cho@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 the ONAP Policy DroolsPDP code. To build it: