From 59bcbd4885a80e2b277111459deb3500b30fef12 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 22 Oct 2020 10:27:59 +0200 Subject: [PATCH] Polish "Allow overriding image.cleanCache from the command-line" See gh-32719 --- .../src/main/java/org/springframework/boot/maven/Image.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Image.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Image.java index a4edaa098a0..bdec55f3e10 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Image.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Image.java @@ -102,7 +102,7 @@ public class Image { * If the cache should be cleaned before building. * @return {@code true} if the cache should be cleaned */ - public Boolean isCleanCache() { + public Boolean getCleanCache() { return this.cleanCache; }