Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8153363

Redundant check for number of components in PackedColorModel.equals() method

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Resolved In Build:
      b116
    • CPU:
      generic
    • OS:
      generic

      Description

      In PackedColorModel.equals() method we are checking for equality for numComponents even though it is already checked in parent ColorModel.equals() methos.

      Remove the redundant check for numComponents equality.

        Attachments

          Activity

            People

            • Assignee:
              jdv Jayathirth D V
              Reporter:
              jdv Jayathirth D V
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: