Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-1463

Logic to check null JSON node is not working in ResourceResolutionComponent

XMLWordPrintable

      In the code above asText return "null" as a string and thats why as per Elvis operator the first argument is always going to be non-null.

      Replacing toTextValue() fixes this problem

       

       

            prathameshmo prathameshmo
            prathameshmo prathameshmo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: