spring-cloud / spring-cloud-commons

Common classes used in different Spring Cloud implementations
Apache License 2.0
704 stars 700 forks source link

refactor: Remove obsolete SpringFactoriesLoader#loadFactoryNames #1303

Open livk-cloud opened 9 months ago

livk-cloud commented 9 months ago

There is currently no better way to use SpringFactoriesLoader#loadFactoryNames in org.springframework.cloud.commons.util.SpringFactoryImportSelector#selectImports. This may not necessarily produce better results, but isn't it a better thing to remove these obsolete methods I hope the Spring Cloud team will come up with a better opinion.