< prev index next >
src/java.desktop/share/classes/javax/swing/text/StringContent.java
Print this page
@@ -43,11 +43,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™
- * 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
*/
@SuppressWarnings("serial") // Same-version serialization only
@@ -257,12 +257,12 @@
}
/**
* Returns a Vector containing instances of UndoPosRef for the
* Positions in the range
- * <code>offset</code> to <code>offset</code> + <code>length</code>.
- * If <code>v</code> is not null the matching Positions are placed in
+ * {@code offset} to {@code offset} + {@code length}.
+ * If {@code v} is not null the matching Positions are placed in
* there. The vector with the resulting Positions are returned.
* <p>
* This is meant for internal usage, and is generally not of interest
* to subclasses.
*
@@ -290,11 +290,11 @@
return placeIn;
}
/**
* Resets the location for all the UndoPosRef instances
- * in <code>positions</code>.
+ * in {@code positions}.
* <p>
* This is meant for internal usage, and is generally not of interest
* to subclasses.
*
* @param positions the positions of the instances
< prev index next >