Skip to content

Commit

Permalink
Align message with regex for AbstractMvcEndpoint.path
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and wilkinsona committed Jul 21, 2016
1 parent a179787 commit 68fe8a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public abstract class AbstractMvcEndpoint extends WebMvcConfigurerAdapter
* Endpoint URL path.
*/
@NotNull
@Pattern(regexp = "/.*|^$", message = "Path must start with /")
@Pattern(regexp = "/.*|^$", message = "Path must start with / or be empty")
private String path;

/**
Expand Down

0 comments on commit 68fe8a5

Please sign in to comment.