mirror of
https://gitee.com/ssssssss-team/magic-api.git
synced 2026-06-09 18:32:16 +08:00
代码优化
This commit is contained in:
@@ -228,9 +228,7 @@ public class ApiInfo extends MagicEntity {
|
||||
.flatMap(it -> it.getOptions().stream())
|
||||
.filter(it -> key.equals(it.getName()))
|
||||
.findFirst()
|
||||
.map(it -> {
|
||||
return Objects.toString(it.getValue(), null);
|
||||
}).orElse(null);
|
||||
.map(it -> Objects.toString(it.getValue(), null)).orElse(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user