Merge branch '3.2.x'
This commit is contained in:
@@ -124,6 +124,7 @@ class SharedMetadataReaderFactoryContextInitializer implements
|
||||
registry.getBeanDefinition(AnnotationConfigUtils.CONFIGURATION_ANNOTATION_PROCESSOR_BEAN_NAME));
|
||||
}
|
||||
catch (NoSuchBeanDefinitionException ex) {
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@ class CacheCondition extends SpringBootCondition {
|
||||
}
|
||||
}
|
||||
catch (BindException ex) {
|
||||
// Ignore
|
||||
}
|
||||
return ConditionOutcome.noMatch(message.because("unknown cache type"));
|
||||
}
|
||||
|
||||
@@ -500,6 +500,7 @@ class OnBeanCondition extends FilteringSpringBootCondition implements Configurat
|
||||
resolved.add(resolve(className, this.classLoader));
|
||||
}
|
||||
catch (ClassNotFoundException | NoClassDefFoundError ex) {
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
return resolved;
|
||||
|
||||
@@ -495,6 +495,7 @@ public class WebMvcAutoConfiguration {
|
||||
}
|
||||
}
|
||||
catch (Exception ex) {
|
||||
// Ignore
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -126,6 +126,7 @@ public class DefaultErrorViewResolver implements ErrorViewResolver, Ordered {
|
||||
}
|
||||
}
|
||||
catch (Exception ex) {
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
@@ -603,6 +603,7 @@ class BatchAutoConfigurationTests {
|
||||
jobRegistry.register(getJobFactory());
|
||||
}
|
||||
catch (DuplicateJobException ex) {
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
return bean;
|
||||
|
||||
@@ -106,6 +106,7 @@ class SessionAutoConfigurationTests extends AbstractSessionAutoConfigurationTest
|
||||
delegatingFilterProxy.doFilter(null, null, null);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
// Ignore
|
||||
}
|
||||
assertThat(delegatingFilterProxy).extracting("delegate")
|
||||
.isSameAs(context.getBean(SessionRepositoryFilter.class));
|
||||
|
||||
Reference in New Issue
Block a user