6876628: @throw instead of @throws in two ParagraphView classes
authordarcy
Thu, 27 Aug 2009 11:48:35 -0700
changeset 3709 e7cf22d025bb
parent 3708 f838f712922e
child 3710 65a5d7914736
child 4196 438f122d2c58
6876628: @throw instead of @throws in two ParagraphView classes Reviewed-by: peterz
jdk/src/share/classes/javax/swing/text/ParagraphView.java
jdk/src/share/classes/javax/swing/text/html/ParagraphView.java
--- a/jdk/src/share/classes/javax/swing/text/ParagraphView.java	Tue Aug 25 19:19:42 2009 -0700
+++ b/jdk/src/share/classes/javax/swing/text/ParagraphView.java	Thu Aug 27 11:48:35 2009 -0700
@@ -716,7 +716,7 @@
      * @param axis  the minor axis
      * @param r     the input {@code SizeRequirements} object
      * @return      the new or adjusted {@code SizeRequirements} object
-     * @throw IllegalArgumentException  if the {@code axis} parameter is invalid
+     * @throws IllegalArgumentException  if the {@code axis} parameter is invalid
      */
     @Override
     protected SizeRequirements calculateMinorAxisRequirements(int axis,
--- a/jdk/src/share/classes/javax/swing/text/html/ParagraphView.java	Tue Aug 25 19:19:42 2009 -0700
+++ b/jdk/src/share/classes/javax/swing/text/html/ParagraphView.java	Thu Aug 27 11:48:35 2009 -0700
@@ -150,7 +150,7 @@
      * @param axis  the minor axis
      * @param r     the input {@code SizeRequirements} object
      * @return      the new or adjusted {@code SizeRequirements} object
-     * @throw IllegalArgumentException  if the {@code axis} parameter is invalid
+     * @throws IllegalArgumentException  if the {@code axis} parameter is invalid
      */
     protected SizeRequirements calculateMinorAxisRequirements(
                                                 int axis, SizeRequirements r) {