8042262: Javadoc typo in java.util.Formatter
Summary: to fix the simple typo in java doc
Reviewed-by: rriggs, lancea
--- a/jdk/src/java.base/share/classes/java/util/Formatter.java Wed Jul 05 20:15:13 2017 +0200
+++ b/jdk/src/java.base/share/classes/java/util/Formatter.java Fri Jan 16 13:46:39 2015 -0800
@@ -1835,7 +1835,7 @@
* <p> The maximum number of arguments is limited by the maximum dimension of a
* Java array as defined by
* <cite>The Java™ Virtual Machine Specification</cite>.
- * If the argument index is does not correspond to an
+ * If the argument index does not correspond to an
* available argument, then a {@link MissingFormatArgumentException} is thrown.
*
* <p> If there are more arguments than format specifiers, the extra arguments