6935155: @since tag is missing in JTextComponent.save/restoreComposedText

Reviewed-by: alexp
This commit is contained in:
Pavel Porvatov 2011-01-27 14:33:30 +03:00
parent f771851eb2
commit 777ccc075e

View File

@ -4822,6 +4822,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* @return {@code true} if the composed text exists and is saved,
* {@code false} otherwise
* @see #restoreComposedText
* @since 1.7
*/
protected boolean saveComposedText(int pos) {
if (composedTextExists()) {
@ -4845,6 +4846,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* should be invoked only if {@code saveComposedText} returns {@code true}.
*
* @see #saveComposedText
* @since 1.7
*/
protected void restoreComposedText() {
Document doc = getDocument();