Skip to content

Commit 60b3f6d

Browse files
committed
doc: Polish Javadoc for Arity.
1 parent 6d1585e commit 60b3f6d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • src/main/java/cz/jirutka/rsql/parser/ast

src/main/java/cz/jirutka/rsql/parser/ast/Arity.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static Arity of(int min, int max) {
4242
}
4343

4444
/**
45-
* Creates N-ary object.
45+
* Creates an N-ary object.
4646
*
4747
* @param n The N.
4848
* @return the created arity
@@ -52,18 +52,18 @@ static Arity nary(int n) {
5252
}
5353

5454
/**
55-
* The minimum number of arguments operator can receive.
55+
* The minimum number of arguments an operator can receive.
5656
*
57-
* @return The minimum number of arguments operator can receive. Positive or zero.
57+
* @return The minimum number of arguments an operator can receive. Positive or zero.
5858
* @apiNote The minimum values is always less than or equal to {@linkplain #max()}
5959
*/
6060
int min();
6161

6262
/**
63-
* The maximum number of arguments operator can receive.
63+
* The maximum number of arguments an operator can receive.
6464
*
65-
* @return The maximum number of arguments operator can receive. Positive or zero.
66-
* @apiNote The maximum values is always greater than or equal to {@linkplain #min()}. For practically unlimited
65+
* @return The maximum number of arguments an operator can receive. Positive or zero.
66+
* @apiNote The maximum value is always greater than or equal to {@linkplain #min()}. For practically unlimited
6767
* arity the implementations should return {@link Integer#MAX_VALUE}.
6868
*/
6969
int max();

0 commit comments

Comments
 (0)