feat:格式化代码
This commit is contained in:
parent
56863ad880
commit
2597252b81
@ -81,8 +81,11 @@ public enum ValidationCandidate {
|
||||
* @return 结果
|
||||
*/
|
||||
public static List<BeanValidation> produce(MergedAnnotations annotations) {
|
||||
return Arrays.stream(values()).flatMap(candidate -> candidate.annotations.stream().map(annotations::get)
|
||||
.filter(MergedAnnotation::isPresent).map(candidate::produce)
|
||||
return Arrays.stream(values())
|
||||
.flatMap(candidate -> candidate.annotations.stream()
|
||||
.map(annotations::get)
|
||||
.filter(MergedAnnotation::isPresent)
|
||||
.map(candidate::produce)
|
||||
).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user