< prev index next >

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

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2015, 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

@@ -756,10 +756,12 @@
      * <p>
      * This is meant for internal usage, and is generally not of interest
      * to subclasses.
      *
      * @param positions the UndoPosRef instances to reset
+     * @param offset where the string was inserted
+     * @param length length of inserted string
      */
     @SuppressWarnings("rawtypes") // UndoPosRef type cannot be exposed
     protected void updateUndoPositions(Vector positions, int offset,
                                        int length) {
         // Find the indexs of the end points.
< prev index next >