add lombok

This commit is contained in:
Timi
2026-03-16 15:42:25 +08:00
parent 13ae5016e8
commit 66e379a0bd
22 changed files with 159 additions and 756 deletions

View File

@@ -25,6 +25,6 @@ public class YamlPropertySourceFactory implements PropertySourceFactory {
@Override
public @org.springframework.lang.NonNull PropertySource<?> createPropertySource(String name, EncodedResource resource) throws IOException {
List<PropertySource<?>> sources = new YamlPropertySourceLoader().load(resource.getResource().getFilename(), resource.getResource());
return sources.get(0);
return sources.getFirst();
}
}