< prev index next >

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

Print this page

        

@@ -35,11 +35,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 Hans Muller
  */
 @SuppressWarnings("serial")

@@ -87,11 +87,11 @@
     /**
      * Constructs a ListDataEvent object. If index0 is &gt;
      * index1, index0 and index1 will be swapped such that
      * index0 will always be &lt;= index1.
      *
-     * @param source  the source Object (typically <code>this</code>)
+     * @param source  the source Object (typically {@code this})
      * @param type    an int specifying {@link #CONTENTS_CHANGED},
      *                {@link #INTERVAL_ADDED}, or {@link #INTERVAL_REMOVED}
      * @param index0  one end of the new interval
      * @param index1  the other end of the new interval
      */

@@ -105,11 +105,11 @@
     /**
      * Returns a string representation of this ListDataEvent. This method
      * is intended to be used only for debugging purposes, and the
      * content and format of the returned string may vary between
      * implementations. The returned string may be empty but may not
-     * be <code>null</code>.
+     * be {@code null}.
      *
      * @since 1.4
      * @return  a string representation of this ListDataEvent.
      */
     public String toString() {
< prev index next >