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

equality check for type() in some of Instruction classes are redundant.

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      instanceof check implies type() are equal in some of Instruction classes.
      In such cases equality check of type can be removed from equals().

      See Pavlin's comment on https://gerrit.onosproject.org/#/c/2510

        Attachments

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

          Activity

            People

            Assignee:
            y-higuchi Yuta Higuchi
            Reporter:
            y-higuchi Yuta Higuchi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: