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

mappingServices takes 2 parameters but maps only one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • None
    • None
    • None

      mappingServices method in ModelMappingUtils class takes two arguments serviceCreateInput and serviceReconfigureInput but maps only one depending on which is null

      if (serviceCreateInput != null) {} else if (serviceReconfigureInput != null) {}
      

      This isn't a good method signature as it's not clear about functionality 

            Unassigned Unassigned
            ramy1313 Rami Mohamed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: