@NotEmpty、@NotBlank、@NotNull的区别
在网上搜索的内容,大致如下:
>
@NotEmpty 用在集合类上面
@NotBlank 用在String上面
@NotNull 用在基本类型上
<!--more-->
只有简单的结果,但是再更具体一点的内容就搜不到了,所以去看了看源码,发现了如下的注释:
# 1. @NotEmpty
```java
/**
* Asserts that the annotated string, collection, map or array is not {@code null} or empty.
*
* @author Emmanuel Bernard
*
more...


