Remove redundant throws clauses
Removes exceptions that are declared in a method's signature but never thrown by the method itself or its implementations/derivatives.
This commit is contained in:
@@ -42,7 +42,7 @@ public abstract class AbstractWebServerIntegrationTests {
|
||||
}
|
||||
}
|
||||
|
||||
protected final MockMvc createMockMvc(String... configLocations) throws Exception {
|
||||
protected final MockMvc createMockMvc(String... configLocations) {
|
||||
if (this.context != null) {
|
||||
throw new IllegalStateException("context is already loaded");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user