summaryrefslogtreecommitdiff
path: root/javax/swing/undo
diff options
context:
space:
mode:
authorDavid Gilbert <david.gilbert@object-refinery.com>2005-07-01 20:57:47 +0000
committerDavid Gilbert <david.gilbert@object-refinery.com>2005-07-01 20:57:47 +0000
commit5e09e4750778d7e99616395c1bc1a99596d5293e (patch)
treec1abd693cd482f36deaf17e8af28b5f720292f2f /javax/swing/undo
parent6f8ffc3c1a3fa76d86e3836008530a920a541188 (diff)
downloadclasspath-5e09e4750778d7e99616395c1bc1a99596d5293e.tar.gz
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.
Diffstat (limited to 'javax/swing/undo')
-rw-r--r--javax/swing/undo/UndoManager.java4
-rw-r--r--javax/swing/undo/UndoableEditSupport.java6
2 files changed, 5 insertions, 5 deletions
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()
{