src/java.desktop/share/classes/java/awt/TextComponent.java

Print this page

        

@@ -950,11 +950,11 @@
         public Rectangle getCharacterBounds(int i) {
             return null;
         }
 
         /**
-         * Returns the number of characters (valid indicies)
+         * Returns the number of characters (valid indices)
          *
          * @return the number of characters >= 0
          */
         public int getCharCount() {
             return TextComponent.this.getText().length();