changeset 4028:fe5623afdbfe

7009422: Two dead links in Swing API documentation Reviewed-by: darcy, art
author rupashka
date Thu, 31 Mar 2011 17:04:31 +0400
parents f29110bbcaa2
children f007fa22625d
files src/share/classes/java/awt/Component.java src/share/classes/java/lang/CharSequence.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/awt/Component.java	Wed Mar 30 15:52:32 2011 -0700
+++ b/src/share/classes/java/awt/Component.java	Thu Mar 31 17:04:31 2011 +0400
@@ -5795,7 +5795,7 @@
      * <code>InputMethodRequests</code> instance.
      * If listener <code>l</code> is <code>null</code>,
      * no exception is thrown and no action is performed.
-     * <p>Refer to <a href="doc-files/AWTThreadIssues.html#ListenersThreads"
+     * <p>Refer to <a href="{@docRoot}/java/awt/doc-files/AWTThreadIssues.html#ListenersThreads"
      * >AWT Threading Issues</a> for details on AWT's threading model.
      *
      * @param    l   the input method listener
--- a/src/share/classes/java/lang/CharSequence.java	Wed Mar 30 15:52:32 2011 -0700
+++ b/src/share/classes/java/lang/CharSequence.java	Thu Mar 31 17:04:31 2011 +0400
@@ -66,7 +66,7 @@
      * indexing. </p>
      *
      * <p>If the <code>char</code> value specified by the index is a
-     * <a href="Character.html#unicode">surrogate</a>, the surrogate
+     * <a href="{@docRoot}/java/lang/Character.html#unicode">surrogate</a>, the surrogate
      * value is returned.
      *
      * @param   index   the index of the <code>char</code> value to be returned