Skip to content

Commit a8276af

Browse files
committed
clarify Javadoc
1 parent 199b6dd commit a8276af

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/net/jamu/matrix/DimensionsBase.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public abstract class DimensionsBase implements Dimensions {
3636
private String formatString;
3737

3838
/**
39-
* Constructs a new {@link Dimensions} implementation which checks that both
40-
* parameters are strictly positive.
39+
* Constructs a new {@link Dimensions} implementation which checks that the
40+
* {@code rows} and {@code cols} dimension parameters are strictly positive.
4141
*
4242
* @param rows
4343
* number of matrix rows
@@ -50,7 +50,8 @@ public abstract class DimensionsBase implements Dimensions {
5050
* the class instance representing the primitive type (either
5151
* {@link Float#TYPE} or {@link Double#TYPE})
5252
* @throws IllegalArgumentException
53-
* if any one of the parameters is not strictly positive
53+
* if any one of the dimension parameters is not strictly
54+
* positive
5455
* @since 1.3
5556
*/
5657
public DimensionsBase(int rows, int cols, boolean complex, Class<?> type) {

0 commit comments

Comments
 (0)