6876628: @throw instead of @throws in two ParagraphView classes
Reviewed-by: peterz
--- 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) {