From 168fa858c50e6565afcd16532ca00ccba9e35c40 Mon Sep 17 00:00:00 2001 From: Vincent Potucek Date: Sat, 18 Oct 2025 17:01:43 +0200 Subject: [PATCH] Remove unnused parameter See gh-47694 Signed-off-by: Vincent Potucek --- .../boot/buildpack/platform/docker/ExportedImageTar.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java index c112267752e..44fc9b41b06 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java @@ -129,7 +129,7 @@ class ExportedImageTar implements Closeable { Assert.state(index != null || manifest != null, "Exported image '%s' does not contain 'index.json' or 'manifest.json'".formatted(reference)); return (index != null) ? new IndexLayerArchiveFactory(tarFile, index) - : new ManifestLayerArchiveFactory(tarFile, manifest); + : new ManifestLayerArchiveFactory(manifest); } } @@ -265,7 +265,7 @@ class ExportedImageTar implements Closeable { private Set layers; - ManifestLayerArchiveFactory(Path tarFile, ImageArchiveManifest manifest) { + ManifestLayerArchiveFactory(ImageArchiveManifest manifest) { this.layers = manifest.getEntries() .stream() .flatMap((entry) -> entry.getLayers().stream())