【fix sonar】CommonConfig文件
This commit is contained in:
+1
-2
@@ -16,7 +16,6 @@ public class CommonConfig {
|
||||
@Bean
|
||||
@ConditionalOnMissingBean(SpringContextHolder.class)
|
||||
public SpringContextHolder springContextHolder() {
|
||||
SpringContextHolder holder = new SpringContextHolder();
|
||||
return holder;
|
||||
return new SpringContextHolder();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user