Remove redundant throws declarations from internal APIs
Closes gh-31176
This commit is contained in:
@@ -33,7 +33,7 @@ import static org.mockito.Mockito.never;
|
||||
class OptionalLiveReloadServerTests {
|
||||
|
||||
@Test
|
||||
void nullServer() throws Exception {
|
||||
void nullServer() {
|
||||
OptionalLiveReloadServer server = new OptionalLiveReloadServer(null);
|
||||
server.startServer();
|
||||
server.triggerReload();
|
||||
|
||||
@@ -79,7 +79,7 @@ class RestarterTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void testRestart(CapturedOutput output) throws Exception {
|
||||
void testRestart(CapturedOutput output) {
|
||||
Restarter.clearInstance();
|
||||
Thread thread = new Thread(SampleApplication::main);
|
||||
thread.start();
|
||||
|
||||
Reference in New Issue
Block a user