feat:格式化代码
This commit is contained in:
parent
56863ad880
commit
2597252b81
@ -81,9 +81,12 @@ 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)
|
||||
).collect(Collectors.toList());
|
||||
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