Remove accidental usage of UnsupportedOptionException
See gh-18539
This commit is contained in:
parent
f42b442ce2
commit
ba46ab6a4f
|
|
@ -26,7 +26,6 @@ import javax.servlet.http.HttpServletResponse;
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.xnio.channels.UnsupportedOptionException;
|
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
|
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
|
||||||
|
|
@ -190,7 +189,7 @@ public class ErrorPageFilterIntegrationTests {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ApplicationContext loadContext(String... locations) {
|
public ApplicationContext loadContext(String... locations) {
|
||||||
throw new UnsupportedOptionException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -200,7 +199,7 @@ public class ErrorPageFilterIntegrationTests {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String getResourceSuffix() {
|
protected String getResourceSuffix() {
|
||||||
throw new UnsupportedOptionException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue