diff --git a/buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java b/buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java index df98c8e168a..79f65f72148 100644 --- a/buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java +++ b/buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java @@ -135,25 +135,12 @@ public interface BuildLog { */ void sensitiveTargetBindingDetected(Binding binding); - /** - * Log that the stack ID of the run image does not match the stack ID of the builder - * image. - * @param runImageStackId the stack ID of the run image - * @param builderImageStackId the stack ID of the builder image - * @since 4.0.9 - * @deprecated since 4.2.0 for removal in 4.4.0 in favor of - * {@link #distrosDoNotMatch(String, String)}. This method is no longer called. - */ - @Deprecated(since = "4.2.0", forRemoval = true) - default void stackIdsDoNotMatch(String runImageStackId, String builderImageStackId) { - } - /** * Log that the OS distribution of the run image does not match the OS distribution of * the builder image. * @param runImageDistro the OS distribution of the run image * @param builderImageDistro the OS distribution of the builder image - * @since 4.2.0 + * @since 4.0.9 */ default void distrosDoNotMatch(String runImageDistro, String builderImageDistro) { }