Skip to content

Commit

Permalink
8294255: Add link to DEFAULT_WAIT_TIME in javadoc for SunToolKit.real…
Browse files Browse the repository at this point in the history
…sSync

Reviewed-by: aivanov, prr
  • Loading branch information
SWinxy authored and prrace committed Oct 4, 2022
1 parent b22a38d commit b2e86a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/java.desktop/share/classes/sun/awt/SunToolkit.java
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,8 @@ public IllegalThreadException() {
private static final int MINIMAL_DELAY = 5;

/**
* Parameterless version of realsync which uses default timout (see DEFAUL_WAIT_TIME).
* Parameterless version of {@link #realSync(long)} which uses
* the default timeout of {@link #DEFAULT_WAIT_TIME}.
*/
public void realSync() {
realSync(DEFAULT_WAIT_TIME);
Expand Down

1 comment on commit b2e86a6

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