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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 9
    • client-libs
    • 2d
    • b116
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: