< prev index next >

src/java.desktop/share/classes/javax/swing/event/UndoableEditEvent.java

Print this page

        

@@ -34,11 +34,11 @@
  * Serialized objects of this class will not be compatible with
  * future Swing releases. The current serialization support is
  * appropriate for short term storage or RMI between applications running
  * the same version of Swing.  As of 1.4, support for long term storage
  * of all JavaBeans&trade;
- * has been added to the <code>java.beans</code> package.
+ * has been added to the {@code java.beans} package.
  * Please see {@link java.beans.XMLEncoder}.
  *
  * @author Ray Ryan
  */
 @SuppressWarnings("serial") // Same-version serialization only

@@ -47,11 +47,11 @@
 
     /**
      * Constructs an UndoableEditEvent object.
      *
      * @param source  the Object that originated the event
-     *                (typically <code>this</code>)
+     *                (typically {@code this})
      * @param edit    an UndoableEdit object
      */
     public UndoableEditEvent(Object source, UndoableEdit edit) {
         super(source);
         myEdit = edit;
< prev index next >