changeset 1597:25371bf31658

6876628: @throw instead of @throws in two ParagraphView classes Reviewed-by: peterz
author darcy
date Thu, 27 Aug 2009 11:48:35 -0700
parents aeaf7b138d90
children 5342b0cdbf95 d602665bb21a
files src/share/classes/javax/swing/text/ParagraphView.java src/share/classes/javax/swing/text/html/ParagraphView.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/text/ParagraphView.java	Tue Aug 25 19:19:42 2009 -0700
+++ b/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/src/share/classes/javax/swing/text/html/ParagraphView.java	Tue Aug 25 19:19:42 2009 -0700
+++ b/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) {