Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-663

Unreachable code in PolicyApiUtils

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None
    • None

      the "validateDictionaryJsonFields" method in the PolicyApiUtils class contains unreachable code involving the evaluation of request headers. The intent of the logic is to evaluate 2 header keys ("option" and "number"), however, given the location of the return statements in the code only one key will ever be evaluated before the method returns.

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

              Created:
              Updated:
              Resolved: