< prev index next >

src/java.desktop/share/classes/javax/swing/text/PlainDocument.java

Print this page

        

@@ -47,11 +47,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  Timothy Prinzing
  * @see     Document
  * @see     AbstractDocument

@@ -73,11 +73,11 @@
      */
     public static final String lineLimitAttribute = "lineLimit";
 
     /**
      * Constructs a plain text document.  A default model using
-     * <code>GapContent</code> is constructed and set.
+     * {@code GapContent} is constructed and set.
      */
     public PlainDocument() {
         this(new GapContent());
     }
 
< prev index next >