From ba46ab6a4f510e1e006163d0219d68667c3be4e5 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Tue, 8 Oct 2019 16:48:32 +0200 Subject: [PATCH] Remove accidental usage of UnsupportedOptionException See gh-18539 --- .../web/servlet/support/ErrorPageFilterIntegrationTests.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/support/ErrorPageFilterIntegrationTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/support/ErrorPageFilterIntegrationTests.java index 0885064236..0e7fd78191 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/support/ErrorPageFilterIntegrationTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/support/ErrorPageFilterIntegrationTests.java @@ -26,7 +26,6 @@ import javax.servlet.http.HttpServletResponse; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; -import org.xnio.channels.UnsupportedOptionException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory; @@ -190,7 +189,7 @@ public class ErrorPageFilterIntegrationTests { @Override public ApplicationContext loadContext(String... locations) { - throw new UnsupportedOptionException(); + throw new UnsupportedOperationException(); } @Override @@ -200,7 +199,7 @@ public class ErrorPageFilterIntegrationTests { @Override protected String getResourceSuffix() { - throw new UnsupportedOptionException(); + throw new UnsupportedOperationException(); } }