♻️ Refactoring code. 格式化代码

This commit is contained in:
aeizzz 2022-12-23 14:58:49 +08:00
parent 9f8be2bd6f
commit 03ad382174
3 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
java-baseline=17
java-baseline=8

View File

@ -138,7 +138,7 @@ public final class PigSentinelFeign {
@Override
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
this.applicationContext = applicationContext;
this.feignClientFactory = (FeignClientFactory)this.applicationContext.getBean(FeignClientFactory.class);
this.feignClientFactory = (FeignClientFactory) this.applicationContext.getBean(FeignClientFactory.class);
}
}

View File

@ -18,8 +18,8 @@ import java.util.Set;
@RequiredArgsConstructor
@Configuration(proxyBeanMethods = false)
public class SpringDocConfiguration implements InitializingBean {
private final SwaggerUiConfigProperties swaggerUiConfigProperties;
private final SwaggerUiConfigProperties swaggerUiConfigProperties;
@Override
public void afterPropertiesSet() throws Exception {
@ -30,4 +30,5 @@ public class SpringDocConfiguration implements InitializingBean {
swaggerUrlSet.add(swaggerUrl);
swaggerUiConfigProperties.setUrls(swaggerUrlSet);
}
}