changeset 3608:ec066e903b84

6935155: @since tag is missing in JTextComponent.save/restoreComposedText Reviewed-by: alexp
author rupashka
date Thu, 27 Jan 2011 14:33:30 +0300
parents 69fac04eda38
children 457f6b2cc155
files src/share/classes/javax/swing/text/JTextComponent.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/text/JTextComponent.java	Thu Jan 27 14:23:42 2011 +0300
+++ b/src/share/classes/javax/swing/text/JTextComponent.java	Thu Jan 27 14:33:30 2011 +0300
@@ -4822,6 +4822,7 @@
      * @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 @@
      * should be invoked only if {@code saveComposedText} returns {@code true}.
      *
      * @see #saveComposedText
+     * @since 1.7
      */
     protected void restoreComposedText() {
         Document doc = getDocument();