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

ComponentColorModel.get* method return statement problems

XMLWordPrintable

    • 2d
    • 1.3
    • generic
    • generic



      Name: krT82822 Date: 01/14/99

      =20
      In class java.awt.image.ComponentColorModel, method getRed
      should end with :

      return (int) (rgb[0]*255);

      instead of :

      return (int) rgb[0]*255;

      Same for getBlue and getGreen
      (Review ID: 52645)
      ======================================================================

            jehung Jeannette Hung (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: