[TRNSPRTPCE-728] Change getter method to obtain an empty map instead of a null Created: 22/Feb/23  Updated: 26/Sep/23  Resolved: 02/Mar/23

Status: Verified
Project: transportpce
Component/s: None
Affects Version/s: None
Fix Version/s: Chlorine, Argon

Type: Improvement Priority: Medium
Reporter: Gilles Thouenon Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 1 hour
Original Estimate: Not Specified


 Description   

In many pieces of TransportPCE code, maps are retrieved from the datastore with the getxx method which potentially returns null.

It would be better to use the associated nonnullxx method which returns an empty map instead of null and simplify checks.


Generated at Wed Feb 07 20:43:55 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.