From 03e981217585888c03c670b95750a2a816113bcb Mon Sep 17 00:00:00 2001 From: Joe Darcy Date: Thu, 27 Aug 2009 11:48:35 -0700 Subject: [PATCH] 6876628: @throw instead of @throws in two ParagraphView classes Reviewed-by: peterz --- jdk/src/share/classes/javax/swing/text/ParagraphView.java | 2 +- jdk/src/share/classes/javax/swing/text/html/ParagraphView.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jdk/src/share/classes/javax/swing/text/ParagraphView.java b/jdk/src/share/classes/javax/swing/text/ParagraphView.java index 2b5f7826a08..a9096d52710 100644 --- a/jdk/src/share/classes/javax/swing/text/ParagraphView.java +++ b/jdk/src/share/classes/javax/swing/text/ParagraphView.java @@ -716,7 +716,7 @@ public class ParagraphView extends FlowView implements TabExpander { * @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, diff --git a/jdk/src/share/classes/javax/swing/text/html/ParagraphView.java b/jdk/src/share/classes/javax/swing/text/html/ParagraphView.java index 6d6006b0a6f..981690a1103 100644 --- a/jdk/src/share/classes/javax/swing/text/html/ParagraphView.java +++ b/jdk/src/share/classes/javax/swing/text/html/ParagraphView.java @@ -150,7 +150,7 @@ public class ParagraphView extends javax.swing.text.ParagraphView { * @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) {