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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Verified
    • Medium
    • Resolution: Done
    • None
    • Chlorine, Argon
    • None
    • None

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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