diff options
author | Taka Cho <takamune.cho@att.com> | 2020-06-25 12:10:00 -0400 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2020-06-26 10:54:27 -0400 |
commit | 927d8e01915733baa86e0fb9842d29487265817e (patch) | |
tree | e077ac2a0764dad6a2e2655bc702a30e9c3e46e8 /feature-simulators | |
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>
Diffstat (limited to 'feature-simulators')
0 files changed, 0 insertions, 0 deletions