summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--javax/swing/undo/UndoManager.java4
-rw-r--r--javax/swing/undo/UndoableEditSupport.java6
3 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 912e918d5..9857e7c83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-07-01 David Gilbert <david.gilbert@object-refinery.com>
+ * javax/swing/undo/UndoManager.java: fixed API doc links,
+ * javax/swing/undo/UndoableEditSupport.java: likewise.
+
+2005-07-01 David Gilbert <david.gilbert@object-refinery.com>
+
* java/awt/RenderingHints.java: API doc updates.
2005-07-01 Mark Wielaard <mark@klomp.org>
diff --git a/javax/swing/undo/UndoManager.java b/javax/swing/undo/UndoManager.java
index fcdcf34ec..fd28ce64a 100644
--- a/javax/swing/undo/UndoManager.java
+++ b/javax/swing/undo/UndoManager.java
@@ -78,7 +78,7 @@ import javax.swing.event.UndoableEditListener;
* <code>javax.swing.undo</code> package, the public methods of an
* <code>UndoManager</code> are safe to call from concurrent threads.
* The caller does not need to perform external synchronization, and
- * {@link javax.swing.event.UndoableEvent} sources do not need to
+ * {@link javax.swing.event.UndoableEditEvent} sources do not need to
* broadcast their events from inside the Swing worker thread.
*
* @author Sascha Brawer (brawer@dandelis.ch)
@@ -607,7 +607,7 @@ public class UndoManager
* <p><b>Thread Safety:</b> This method may safely be invoked from
* concurrent threads. The caller does not need to perform external
* synchronization. This means that {@link
- * javax.swing.event.UndoableEvent} sources do not need to broadcast
+ * javax.swing.event.UndoableEditEvent} sources do not need to broadcast
* their events from inside the Swing worker thread.
*
* @param event the event whose <code>edit</code> will be
diff --git a/javax/swing/undo/UndoableEditSupport.java b/javax/swing/undo/UndoableEditSupport.java
index 80234aa8a..c6d518e8b 100644
--- a/javax/swing/undo/UndoableEditSupport.java
+++ b/javax/swing/undo/UndoableEditSupport.java
@@ -187,7 +187,7 @@ public class UndoableEditSupport
/**
- * If {@link #beginEdit} has been called (so that the current
+ * If {@link #beginUpdate} has been called (so that the current
* update level is greater than zero), adds the specified edit
* to {@link #compoundEdit}. Otherwise, notify listeners of the
* edit by calling {@link #_postEdit(UndoableEdit)}.
@@ -233,12 +233,12 @@ public class UndoableEditSupport
/**
- * Creates a new instance of {@link #CompoundEdit}. Called by {@link
+ * Creates a new instance of {@link CompoundEdit}. Called by {@link
* #beginUpdate}. If a subclass wants {@link #beginUpdate} to work
* on a specific {@link #compoundEdit}, it should override this
* method.
*
- * @returns a newly created instance of {@link #CompoundEdit}.
+ * @returns a newly created instance of {@link CompoundEdit}.
*/
protected CompoundEdit createCompoundEdit()
{