Merge branch '3.2.x'

This commit is contained in:
Moritz Halbritter
2024-02-12 10:19:46 +01:00
50 changed files with 68 additions and 8 deletions

View File

@@ -150,7 +150,8 @@ public class AnsiPropertySource extends PropertySource<AnsiElement> {
try {
return this.factory.apply(Integer.parseInt(postfix));
}
catch (IllegalArgumentException ignored) {
catch (IllegalArgumentException ex) {
// Ignore
}
}
return null;

View File

@@ -157,6 +157,7 @@ public final class ConfigurationPropertiesBean {
}
}
catch (Exception ex) {
// Ignore
}
}
}

View File

@@ -110,6 +110,7 @@ public class NoUnboundElementsBindHandler extends AbstractBindHandler {
source.filter((candidate) -> isUnbound(name, candidate)).getConfigurationProperty(unboundName));
}
catch (Exception ex) {
// Ignore
}
}
}

View File

@@ -212,6 +212,7 @@ public class ValidationBindHandler extends AbstractBindHandler {
}
}
catch (Exception ex) {
// Ignore
}
return null;
}

View File

@@ -49,6 +49,7 @@ class ConfigurationPropertySourcesPropertyResolver extends AbstractPropertyResol
return attached.findConfigurationProperty(name) != null;
}
catch (Exception ex) {
// Ignore
}
}
}
@@ -91,6 +92,7 @@ class ConfigurationPropertySourcesPropertyResolver extends AbstractPropertyResol
return (configurationProperty != null) ? configurationProperty.getValue() : null;
}
catch (Exception ex) {
// Ignore
}
}
}

View File

@@ -75,6 +75,7 @@ final class DefaultPropertyMapper implements PropertyMapper {
}
}
catch (Exception ex) {
// Ignore
}
return ConfigurationPropertyName.EMPTY;
}

View File

@@ -89,6 +89,7 @@ class SpringConfigurationPropertySource implements ConfigurationPropertySource {
}
}
catch (Exception ex) {
// Ignore
}
}
return null;

View File

@@ -121,6 +121,7 @@ public class TextResourceOrigin implements Origin {
}
}
catch (IOException ex) {
// Ignore
}
return resource.getDescription();
}

View File

@@ -82,6 +82,7 @@ public class ApplicationHome {
}
}
catch (Exception ex) {
// Ignore
}
}
return null;
@@ -98,6 +99,7 @@ public class ApplicationHome {
}
}
catch (Exception ex) {
// Ignore
}
return null;
}
@@ -112,6 +114,7 @@ public class ApplicationHome {
}
}
catch (Exception ex) {
// Ignore
}
return false;
}

View File

@@ -155,6 +155,7 @@ public class UndertowWebServer implements WebServer {
closeable.close();
}
catch (Exception ex) {
// Ignore
}
}

View File

@@ -304,6 +304,7 @@ public class ErrorPageFilter implements Filter, ErrorPageRegistry, Ordered {
collection.add(ClassUtils.forName(className, null));
}
catch (Throwable ex) {
// Ignore
}
}

View File

@@ -139,6 +139,7 @@ class BufferingApplicationStartupTests {
Thread.sleep(1);
}
catch (InterruptedException ex) {
// Ignore
}
step.end();
}

View File

@@ -208,6 +208,7 @@ class BindConverterTests {
thread.join();
}
catch (InterruptedException ex) {
// Ignore
}
}
assertThat(results).isNotEmpty().doesNotContainNull();

View File

@@ -133,6 +133,7 @@ class ApplicationContextRequestMatcherTests {
thread.join(1000);
}
catch (InterruptedException ex) {
// Ignore
}
}
@@ -205,6 +206,7 @@ class ApplicationContextRequestMatcherTests {
Thread.sleep(200);
}
catch (InterruptedException ex) {
// Ignore
}
this.initialized.set(true);
}

View File

@@ -1242,7 +1242,7 @@ public abstract class AbstractServletWebServerFactoryTests {
blockingServlet.admitOne();
}
catch (RuntimeException ex) {
// Ignore
}
}
@@ -1298,7 +1298,7 @@ public abstract class AbstractServletWebServerFactoryTests {
blockingServlet.admitOne();
}
catch (RuntimeException ex) {
// Ignore
}
}