Polish FailureAnalyzers deprecation message
Fixes gh-30578
This commit is contained in:
@@ -90,9 +90,9 @@ final class FailureAnalyzers implements SpringBootExceptionReporter {
|
||||
String awareAnalyzerNames = StringUtils.collectionToCommaDelimitedString(awareAnalyzers.stream()
|
||||
.map((analyzer) -> analyzer.getClass().getName()).collect(Collectors.toList()));
|
||||
logger.warn(LogMessage.format(
|
||||
"FailureAnalyzers [%s] implement BeanFactoryAware or EnvironmentAware."
|
||||
"FailureAnalyzers [%s] implement BeanFactoryAware or EnvironmentAware. "
|
||||
+ "Support for these interfaces on FailureAnalyzers is deprecated, "
|
||||
+ "and will be removed in a future release."
|
||||
+ "and will be removed in a future release. "
|
||||
+ "Instead provide a constructor that accepts BeanFactory or Environment parameters.",
|
||||
awareAnalyzerNames));
|
||||
if (context == null) {
|
||||
|
||||
Reference in New Issue
Block a user