mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8280492: Use cross-module syntax for cross-module links
Reviewed-by: iris, serb, lancea, dfuchs, aivanov
This commit is contained in:
parent
a5416669a5
commit
8e82d0021c
17 changed files with 72 additions and 72 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 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
|
||||
|
@ -43,8 +43,8 @@ import sun.datatransfer.DataFlavorUtil;
|
|||
*
|
||||
* @author Amy Fowler
|
||||
* @author Alexander Gerasimov
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.awt.Toolkit#getSystemSelection
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemSelection
|
||||
* @since 1.1
|
||||
*/
|
||||
public class Clipboard {
|
||||
|
@ -81,7 +81,7 @@ public class Clipboard {
|
|||
* Creates a clipboard object.
|
||||
*
|
||||
* @param name for the clipboard
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
*/
|
||||
public Clipboard(String name) {
|
||||
this.name = name;
|
||||
|
@ -91,7 +91,7 @@ public class Clipboard {
|
|||
* Returns the name of this clipboard object.
|
||||
*
|
||||
* @return the name of this clipboard object
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
|
@ -118,7 +118,7 @@ public class Clipboard {
|
|||
* content
|
||||
* @param owner the object which owns the clipboard content
|
||||
* @throws IllegalStateException if the clipboard is currently unavailable
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
*/
|
||||
public synchronized void setContents(Transferable contents, ClipboardOwner owner) {
|
||||
final ClipboardOwner oldOwner = this.owner;
|
||||
|
@ -145,7 +145,7 @@ public class Clipboard {
|
|||
* @param requestor the object requesting the clip data (not used)
|
||||
* @return the current transferable object on the clipboard
|
||||
* @throws IllegalStateException if the clipboard is currently unavailable
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
*/
|
||||
public synchronized Transferable getContents(Object requestor) {
|
||||
return contents;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue