Skip to content

Commit

Permalink
4619330: All built-in java.awt.color.ColorSpace fields should be spec…
Browse files Browse the repository at this point in the history
…ified as such

Reviewed-by: prr
  • Loading branch information
mrserb committed Nov 9, 2020
1 parent 17f04fc commit 11431b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/java.desktop/share/classes/java/awt/color/ColorSpace.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,25 +244,25 @@ public abstract class ColorSpace implements Serializable {


/**
* The sRGB color space defined at
* The built-in sRGB color space defined at
* <a href="http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html">
* http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html</a>.
*/
@Native public static final int CS_sRGB = 1000;

/**
* A built-in linear RGB color space. This space is based on the same RGB
* The built-in linear RGB color space. This space is based on the same RGB
* primaries as {@code CS_sRGB}, but has a linear tone reproduction curve.
*/
@Native public static final int CS_LINEAR_RGB = 1004;

/**
* The CIEXYZ conversion color space defined above.
* The built-in CIEXYZ conversion color space defined above.
*/
@Native public static final int CS_CIEXYZ = 1001;

/**
* The Photo YCC conversion color space.
* The built-in Photo YCC conversion color space.
*/
@Native public static final int CS_PYCC = 1002;

Expand Down

1 comment on commit 11431b1

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.