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 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 {
|
|||||||
* @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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user