< prev index next >

src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -2177,13 +2177,10 @@
     @SuppressWarnings("serial") // Superclass is not serializable across versions
     static class SelectWordAction extends TextAction {
 
         /**
          * Create this action with the appropriate identifier.
-         * @param nm  the name of the action, Action.NAME.
-         * @param select whether to extend the selection when
-         *  changing the caret position.
          */
         SelectWordAction() {
             super(selectWordAction);
             start = new BeginWordAction("pigdog", false);
             end = new EndWordAction("pigdog", true);

@@ -2207,13 +2204,10 @@
     @SuppressWarnings("serial") // Superclass is not serializable across versions
     static class SelectLineAction extends TextAction {
 
         /**
          * Create this action with the appropriate identifier.
-         * @param nm  the name of the action, Action.NAME.
-         * @param select whether to extend the selection when
-         *  changing the caret position.
          */
         SelectLineAction() {
             super(selectLineAction);
             start = new BeginLineAction("pigdog", false);
             end = new EndLineAction("pigdog", true);

@@ -2237,13 +2231,10 @@
     @SuppressWarnings("serial") // Superclass is not serializable across versions
     static class SelectParagraphAction extends TextAction {
 
         /**
          * Create this action with the appropriate identifier.
-         * @param nm  the name of the action, Action.NAME.
-         * @param select whether to extend the selection when
-         *  changing the caret position.
          */
         SelectParagraphAction() {
             super(selectParagraphAction);
             start = new BeginParagraphAction("pigdog", false);
             end = new EndParagraphAction("pigdog", true);

@@ -2267,13 +2258,10 @@
     @SuppressWarnings("serial") // Superclass is not serializable across versions
     static class SelectAllAction extends TextAction {
 
         /**
          * Create this action with the appropriate identifier.
-         * @param nm  the name of the action, Action.NAME.
-         * @param select whether to extend the selection when
-         *  changing the caret position.
          */
         SelectAllAction() {
             super(selectAllAction);
         }
 
< prev index next >