mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-28 13:09:09 +00:00
Fix test in FreeMarker support
This commit is contained in:
+1
-2
@@ -93,7 +93,6 @@ public class FreeMarkerAutoConfiguration {
|
||||
}
|
||||
|
||||
@Configuration
|
||||
@ConditionalOnClass(Servlet.class)
|
||||
@ConditionalOnNotWebApplication
|
||||
public static class FreeMarkerConfiguration implements EnvironmentAware {
|
||||
|
||||
@@ -137,7 +136,7 @@ public class FreeMarkerAutoConfiguration {
|
||||
}
|
||||
|
||||
@Bean
|
||||
@ConditionalOnBean(FreeMarkerConfig.class)
|
||||
@ConditionalOnBean(FreeMarkerConfigurer.class)
|
||||
@ConditionalOnMissingBean
|
||||
public freemarker.template.Configuration freemarkerConfiguration(
|
||||
FreeMarkerConfig configurer) {
|
||||
|
||||
Reference in New Issue
Block a user