Skip to content

Commit

Permalink
8295003: Do not mention applets in the "java.awt.color" package
Browse files Browse the repository at this point in the history
Reviewed-by: aivanov, prr
  • Loading branch information
mrserb committed Oct 11, 2022
1 parent e6c33e6 commit 891156a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@
* color space (e.g. {@code TYPE_RGB}, {@code TYPE_CMYK}, etc.), but the
* specific color values of the output data will be undefined.
* <p>
* The details of this class are not important for simple applets, which draw in
* a default color space or manipulate and display imported images with a known
* color space. At most, such applets would need to get one of the default color
* spaces via {@link ColorSpace#getInstance}.
* The details of this class are not important for simple applications, which
* draw in a default color space or manipulate and display imported images with
* a known color space. At most, such applications would need to get one of the
* default color spaces via {@link ColorSpace#getInstance}.
*
* @see ColorSpace
* @see ICC_Profile
Expand Down
10 changes: 5 additions & 5 deletions src/java.desktop/share/classes/java/awt/color/ICC_Profile.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -1073,8 +1073,8 @@ public byte[] getData() {
* Returns a particular tagged data element from the profile as a byte
* array. Elements are identified by signatures as defined in the ICC
* specification. The signature icSigHead can be used to get the header.
* This method is useful for advanced applets or applications which need to
* access profile data directly.
* This method is useful for advanced applications which need to access
* profile data directly.
*
* @param tagSignature the ICC tag signature for the data element you want
* to get
Expand All @@ -1099,8 +1099,8 @@ private static byte[] getData(Profile p, int tagSignature) {
* Sets a particular tagged data element in the profile from a byte array.
* The array should contain data in a format, corresponded to the
* {@code tagSignature} as defined in the ICC specification, section 10.
* This method is useful for advanced applets or applications which need to
* access profile data directly.
* This method is useful for advanced applications which need to access
* profile data directly.
*
* @param tagSignature the ICC tag signature for the data element you want
* to set
Expand Down

1 comment on commit 891156a

@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.