changeset 49623:171e0beb4ff1

8200888: typo in name of exception in @throws Reviewed-by: bpb, darcy
author jjg
date Wed, 04 Apr 2018 17:50:53 -0700
parents 69c6eb97297f
children 4d98473ed33e
files src/java.base/share/classes/java/text/ChoiceFormat.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/text/ChoiceFormat.java	Wed Apr 04 16:13:30 2018 -0700
+++ b/src/java.base/share/classes/java/text/ChoiceFormat.java	Wed Apr 04 17:50:53 2018 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2018, 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
@@ -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
      */