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:
@@ -43,7 +43,7 @@ public class AuthenticationSimpleHttpInvokerRequestExecutorTests {
|
||||
// ~ Methods
|
||||
// ========================================================================================================
|
||||
@After
|
||||
public void tearDown() throws Exception {
|
||||
public void tearDown() {
|
||||
SecurityContextHolder.clearContext();
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ public class AuthenticationSimpleHttpInvokerRequestExecutorTests {
|
||||
super(u);
|
||||
}
|
||||
|
||||
public void connect() throws IOException {
|
||||
public void connect() {
|
||||
throw new UnsupportedOperationException("mock not implemented");
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ public class ContextPropagatingRemoteInvocationTests {
|
||||
// ~ Methods
|
||||
// ========================================================================================================
|
||||
@After
|
||||
public void tearDown() throws Exception {
|
||||
public void tearDown() {
|
||||
SecurityContextHolder.clearContext();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user