RFR: 8200888: typo in name of exception in @throws

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Apr 5 00:21:16 UTC 2018


Please review this tiny fix to a typo in the name of an exception in 
@throws:

No webrev; here's the change: NullPointerExcpetion -> NullPointerException

diff -r 3930c4d4f805 
src/java.base/share/classes/java/text/ChoiceFormat.java
--- a/src/java.base/share/classes/java/text/ChoiceFormat.java Wed Apr 04 
14:42:53 2018 -0700
+++ b/src/java.base/share/classes/java/text/ChoiceFormat.java Wed Apr 04 
17:12:53 2018 -0700
@@ -312,7 +312,7 @@
       * Constructs with limits and corresponding formats based on the 
pattern.
       *
       * @param newPattern the new pattern string
- * @exception NullPointerExcpetion if {@code newPattern} is
+ * @exception NullPointerException if {@code newPattern} is
       * {@code null}
       * @see #applyPattern
       */

JBS: https://bugs.openjdk.java.net/browse/JDK-8200888

-- Jon


More information about the core-libs-dev mailing list