Skip to content

Commit

Permalink
BVAL-655 Avoiding some line-wraps
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarmorling authored and gsmet committed Jun 21, 2017
1 parent 36f40c6 commit a44f12e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/javax/validation/constraints/Email.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import javax.validation.constraints.Email.List;

/**
* The string has to be a well-formed email address. Exact semantics of what makes up a valid email
* address are left to Bean Validation providers. Accepts {@code CharSequence}.
* The string has to be a well-formed email address. Exact semantics of what makes up a valid
* email address are left to Bean Validation providers. Accepts {@code CharSequence}.
*
* @author Emmanuel Bernard
* @author Hardy Ferentschik
Expand All @@ -46,12 +46,14 @@
Class<? extends Payload>[] payload() default { };

/**
* @return an additional regular expression the annotated element must match. The default is any string ('.*')
* @return an additional regular expression the annotated element must match. The default
* is any string ('.*')
*/
String regexp() default ".*";

/**
* @return used in combination with {@link #regexp()} in order to specify a regular expression option
* @return used in combination with {@link #regexp()} in order to specify a regular
* expression option
*/
Pattern.Flag[] flags() default { };

Expand Down

0 comments on commit a44f12e

Please sign in to comment.