Skip to content

Commit

Permalink
Fix annotation description
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo42 committed Nov 28, 2024
1 parent 4536b0b commit 75fd0d5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
@Retention(RetentionPolicy.RUNTIME)
public @interface Max {
/**
* @return the value of the minimum constraint
* @return the value of the maximum constraint
*/
double value();

/**
* Specifies whether the specified maximum is inclusive or exclusive.
* By default, it is inclusive.
*
* @return {@code true} if the value must be higher or equal to the specified minimum,
* {@code false} if the value must be higher
* @return {@code true} if the value must be lower or equal to the specified maximum,
* {@code false} if the value must be lower
*/
boolean inclusive() default true;
}

0 comments on commit 75fd0d5

Please sign in to comment.