mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '4.1.x'
Closes gh-51600
This commit is contained in:
-1
@@ -54,7 +54,6 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
abstract class AbstractJarModeTests {
|
||||
|
||||
@TempDir
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
File tempDir;
|
||||
|
||||
Manifest createManifest(String... entries) {
|
||||
|
||||
-1
@@ -34,7 +34,6 @@ import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
|
||||
class ContextTests {
|
||||
|
||||
@TempDir
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
File temp;
|
||||
|
||||
@Test
|
||||
|
||||
-2
@@ -69,11 +69,9 @@ class ExtractLayersCommandTests {
|
||||
private static final FileTime LAST_ACCESS_TIME = FileTime.from(NOW.minus(1, ChronoUnit.DAYS));
|
||||
|
||||
@TempDir
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
File temp;
|
||||
|
||||
@Mock
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
private Context context;
|
||||
|
||||
private File jarFile;
|
||||
|
||||
-1
@@ -40,7 +40,6 @@ class HelpCommandTests {
|
||||
private TestPrintStream out;
|
||||
|
||||
@TempDir
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
Path temp;
|
||||
|
||||
@BeforeEach
|
||||
|
||||
-1
@@ -42,7 +42,6 @@ import static org.mockito.Mockito.mock;
|
||||
class IndexedLayersTests {
|
||||
|
||||
@TempDir
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
File temp;
|
||||
|
||||
@Test
|
||||
|
||||
-2
@@ -48,11 +48,9 @@ import static org.mockito.BDDMockito.given;
|
||||
class ListCommandTests {
|
||||
|
||||
@TempDir
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
File temp;
|
||||
|
||||
@Mock
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
private Context context;
|
||||
|
||||
private ListCommand command;
|
||||
|
||||
-1
@@ -89,7 +89,6 @@ abstract class AbstractPackagerTests<P extends Packager> {
|
||||
}
|
||||
|
||||
@TempDir
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
File tempDir;
|
||||
|
||||
protected TestJarFile testJarFile;
|
||||
|
||||
-1
@@ -39,7 +39,6 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
class FileUtilsTests {
|
||||
|
||||
@TempDir
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
File tempDir;
|
||||
|
||||
private File outputDirectory;
|
||||
|
||||
Reference in New Issue
Block a user