Skip to content

Commit fea78f9

Browse files
committed
Javadoc - Use Return instead of @return when there is no description
1 parent 484e07f commit fea78f9

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

validator-constraints/src/main/java/io/avaje/validation/constraints/Digits.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737

3838
Class<?>[] groups() default {};
3939

40-
/** @return maximum number of integral digits accepted for this number */
40+
/** Return maximum number of integral digits accepted for this number */
4141
int integer();
4242

43-
/** @return maximum number of fractional digits accepted for this number */
43+
/** Return maximum number of fractional digits accepted for this number */
4444
int fraction() default 0;
4545

4646
/**
@@ -51,7 +51,7 @@
5151
@Target({ElementType.METHOD, ElementType.FIELD})
5252
@Retention(RetentionPolicy.RUNTIME)
5353
@Documented
54-
public @interface Digitses {
54+
@interface Digitses {
5555
Digits[] value();
5656
}
5757
}

validator-constraints/src/main/java/io/avaje/validation/constraints/Length.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323

2424
Class<?>[] groups() default {};
2525

26-
/** @return size the string must be higher or equal to */
26+
/** Return size the string must be higher or equal to */
2727
int min() default 0;
2828

29-
/** @return size the string must be lower or equal to */
29+
/** Return size the string must be lower or equal to */
3030
int max() default Integer.MAX_VALUE;
3131

3232
/**

validator-constraints/src/main/java/io/avaje/validation/constraints/Max.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
Class<?>[] groups() default {};
4242

43-
/** @return value the element must be lower or equal to */
43+
/** Return value the element must be lower or equal to */
4444
long value();
4545

4646
/**

validator-constraints/src/main/java/io/avaje/validation/constraints/Min.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
Class<?>[] groups() default {};
4242

43-
/** @return value the element must be higher or equal to */
43+
/** Return value the element must be higher or equal to */
4444
long value();
4545

4646
/**

validator-constraints/src/main/java/io/avaje/validation/constraints/RegexFlag.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public enum RegexFlag {
5959
this.value = value;
6060
}
6161

62-
/** @return flag value as defined in {@link java.util.regex.Pattern} */
62+
/** Return flag value as defined in {@link java.util.regex.Pattern} */
6363
public int getValue() {
6464
return value;
6565
}

0 commit comments

Comments
 (0)