< prev index next >
src/java.desktop/share/classes/javax/swing/text/StringContent.java
Print this page
*** 43,53 ****
* 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.
* Please see {@link java.beans.XMLEncoder}.
*
* @author Timothy Prinzing
*/
@SuppressWarnings("serial") // Same-version serialization only
--- 43,53 ----
* 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} package.
* Please see {@link java.beans.XMLEncoder}.
*
* @author Timothy Prinzing
*/
@SuppressWarnings("serial") // Same-version serialization only
*** 257,268 ****
}
/**
* 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
* there. The vector with the resulting Positions are returned.
* <p>
* This is meant for internal usage, and is generally not of interest
* to subclasses.
*
--- 257,268 ----
}
/**
* Returns a Vector containing instances of UndoPosRef for the
* Positions in the range
! * {@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,300 ****
return placeIn;
}
/**
* Resets the location for all the UndoPosRef instances
! * in <code>positions</code>.
* <p>
* This is meant for internal usage, and is generally not of interest
* to subclasses.
*
* @param positions the positions of the instances
--- 290,300 ----
return placeIn;
}
/**
* Resets the location for all the UndoPosRef instances
! * 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 >