6876628: @throw instead of @throws in two ParagraphView classes
Reviewed-by: peterz
This commit is contained in:
parent
28c28df142
commit
03e9812175
@ -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,
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user