提交 78b7659e 编写于 作者: D darcy

6876628: @throw instead of @throws in two ParagraphView classes

Reviewed-by: peterz
上级 dae3a856
...@@ -716,7 +716,7 @@ public class ParagraphView extends FlowView implements TabExpander { ...@@ -716,7 +716,7 @@ public class ParagraphView extends FlowView implements TabExpander {
* @param axis the minor axis * @param axis the minor axis
* @param r the input {@code SizeRequirements} object * @param r the input {@code SizeRequirements} object
* @return the new or adjusted {@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 @Override
protected SizeRequirements calculateMinorAxisRequirements(int axis, protected SizeRequirements calculateMinorAxisRequirements(int axis,
......
...@@ -150,7 +150,7 @@ public class ParagraphView extends javax.swing.text.ParagraphView { ...@@ -150,7 +150,7 @@ public class ParagraphView extends javax.swing.text.ParagraphView {
* @param axis the minor axis * @param axis the minor axis
* @param r the input {@code SizeRequirements} object * @param r the input {@code SizeRequirements} object
* @return the new or adjusted {@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( protected SizeRequirements calculateMinorAxisRequirements(
int axis, SizeRequirements r) { int axis, SizeRequirements r) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册