Uploaded image for project: 'transportpce'
  1. transportpce
  2. TRNSPRTPCE-728

Change getter method to obtain an empty map instead of a null

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • Chlorine, Argon
    • None
    • None
    • None

      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.

            Unassigned Unassigned
            gthouenon Gilles Thouenon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h