From d7f0c1d63c384d0d79a98805225ff8b1614bf2d2 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Thu, 10 Jan 2019 14:27:16 +0900 Subject: [PATCH 1/2] Remove an unused interface in RestarterTests See gh-15666 --- .../boot/devtools/restart/RestarterTests.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java index e5ce01b2aa..f07c01af10 100644 --- a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java +++ b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java @@ -176,13 +176,6 @@ public class RestarterTests { assertThat(Restarter.getInstance().getInitialUrls()).isEqualTo(urls); } - @FunctionalInterface - private interface WithMainAction { - - void perform() throws Exception; - - } - @Component @EnableScheduling public static class SampleApplication { From dca6879d4e97205e34965ceaccb23fbc17ca5542 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 10 Jan 2019 13:25:34 +0100 Subject: [PATCH 2/2] Polish "Remove an unused interface in RestarterTests" Closes gh-15666 --- .../springframework/boot/devtools/restart/RestarterTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java index f07c01af10..1074cf761c 100644 --- a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java +++ b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.