Merge branch '2.6.x' into 2.7.x

Closes gh-31177
This commit is contained in:
Andy Wilkinson
2022-05-26 15:53:38 +01:00
70 changed files with 151 additions and 187 deletions

View File

@@ -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();

View File

@@ -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();