Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-5933

invalid comparison of integer objects using !=

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.9.2
    • Component/s: None
    • Labels:
      None

      Description

      In BgpSelectionAlgo.java, Integer Object comparison was being done with != operator. The result will be always true irrespective of the values. To avoid this, equals( ) method need to be used.

        Attachments

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

          Activity

            People

            Assignee:
            sivag SIVA KUMAR GANGARAPU
            Reporter:
            sivag SIVA KUMAR GANGARAPU
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: