Skip to content

Commit f587285

Browse files
committed
Merge pull request #42069 from izeye
* pr/42069: Polish Closes gh-42069
2 parents 8c1d987 + a8452b5 commit f587285

File tree

3 files changed

+5
-4
lines changed
  • spring-boot-project/spring-boot-tools

3 files changed

+5
-4
lines changed

spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public interface BuildLog {
118118
* Log that a cache cleanup step was not completed successfully.
119119
* @param cache the cache
120120
* @param exception any exception that caused the failure
121+
* @since 3.2.6
121122
*/
122123
void failedCleaningWorkDir(Cache cache, Exception exception);
123124

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/dockerTest/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImageIntegrationTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,9 @@ void buildsImageWithBindCaches() throws IOException {
320320
cleanupCache(launchCachePath);
321321
}
322322

323-
private static void cleanupCache(Path buildCachePath) {
323+
private static void cleanupCache(Path cachePath) {
324324
try {
325-
FileSystemUtils.deleteRecursively(buildCachePath);
325+
FileSystemUtils.deleteRecursively(cachePath);
326326
}
327327
catch (Exception ex) {
328328
// ignore

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/dockerTest/java/org/springframework/boot/maven/BuildImageTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,9 @@ void whenBuildImageIsInvokedWithBindCaches(MavenBuild mavenBuild) {
443443
});
444444
}
445445

446-
private static void cleanupCache(Path buildCachePath) {
446+
private static void cleanupCache(Path cachePath) {
447447
try {
448-
FileSystemUtils.deleteRecursively(buildCachePath);
448+
FileSystemUtils.deleteRecursively(cachePath);
449449
}
450450
catch (Exception ex) {
451451
// ignore

0 commit comments

Comments
 (0)