< prev index next >

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

Print this page

        

@@ -41,11 +41,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 Scott Violet
  */
 @SuppressWarnings("serial") // Same-version serialization only

@@ -58,11 +58,11 @@
 
     /**
      * Constructs a TreeExpansionEvent object.
      *
      * @param source  the Object that originated the event
-     *                (typically <code>this</code>)
+     *                (typically {@code this})
      * @param path    a TreePath object identifying the newly expanded
      *                node
      */
     public TreeExpansionEvent(Object source, TreePath path) {
         super(source);
< prev index next >