6935155: @since tag is missing in JTextComponent.save/restoreComposedText
authorrupashka
Thu, 27 Jan 2011 14:33:30 +0300
changeset 8139 42edb817487b
parent 8138 d187e6ae178a
child 8140 f38be08fdcb4
6935155: @since tag is missing in JTextComponent.save/restoreComposedText Reviewed-by: alexp
jdk/src/share/classes/javax/swing/text/JTextComponent.java
--- a/jdk/src/share/classes/javax/swing/text/JTextComponent.java	Thu Jan 27 14:23:42 2011 +0300
+++ b/jdk/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();