Skip to content

Commit aa0db05

Browse files
committed
exec.main -> exec.imports
1 parent 3713ecd commit aa0db05

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

spring-boot-testjars/src/main/java/org/springframework/experimental/boot/server/exec/CommonsExecWebServerFactoryBean.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.springframework.beans.factory.BeanNameAware;
3030
import org.springframework.beans.factory.DisposableBean;
3131
import org.springframework.beans.factory.SmartFactoryBean;
32+
import org.springframework.experimental.boot.server.exec.imports.SpringBootApplicationMain;
3233
import org.springframework.util.Assert;
3334
import org.springframework.util.ClassUtils;
3435

@@ -46,7 +47,7 @@ public class CommonsExecWebServerFactoryBean
4647

4748
private static Log logger = LogFactory.getLog(CommonsExecWebServerFactoryBean.class);
4849

49-
private static final String DEFAULT_SPRING_BOOT_MAIN_CLASSNAME = "org.springframework.experimental.boot.server.exec.main.SpringBootApplicationMain";
50+
private static final String DEFAULT_SPRING_BOOT_MAIN_CLASSNAME = SpringBootApplicationMain.class.getName();
5051

5152
private String executable = currentJavaExecutable();
5253

spring-boot-testjars/src/main/java/org/springframework/experimental/boot/server/exec/detector/JarLauncherDetector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import java.lang.reflect.InvocationTargetException;
2020

21-
import org.springframework.experimental.boot.server.exec.main.SpringBootApplicationMain;
21+
import org.springframework.experimental.boot.server.exec.imports.SpringBootApplicationMain;
2222

2323
/**
2424
* Detect which JarLauncher main class to use, and call its {@code main(String[] args)}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.experimental.boot.server.exec.main;
17+
package org.springframework.experimental.boot.server.exec.imports;
1818

1919
import org.springframework.boot.SpringApplication;
2020
import org.springframework.boot.autoconfigure.SpringBootApplication;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
* provides a default class to run Spring Boot applications against. This is intentionally
2020
* left otherwise empty to avoid scanning classes unnecessarily.
2121
*/
22-
package org.springframework.experimental.boot.server.exec.main;
22+
package org.springframework.experimental.boot.server.exec.imports;

spring-boot-testjars/src/test/java/org/springframework/experimental/boot/server/exec/detector/JarLauncherDetectorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.junit.jupiter.api.Test;
2121
import org.mockito.Mockito;
2222

23-
import org.springframework.experimental.boot.server.exec.main.SpringBootApplicationMain;
23+
import org.springframework.experimental.boot.server.exec.imports.SpringBootApplicationMain;
2424

2525
import static org.assertj.core.api.Assertions.assertThat;
2626
import static org.mockito.ArgumentMatchers.any;

0 commit comments

Comments
 (0)