mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 15:59:31 +00:00
Remove unnused parameter
See gh-47694 Signed-off-by: Vincent Potucek <vpotucek@me.com>
This commit is contained in:
committed by
Stéphane Nicoll
parent
5280f1ab8f
commit
168fa858c5
+2
-2
@@ -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<String> layers;
|
||||
|
||||
ManifestLayerArchiveFactory(Path tarFile, ImageArchiveManifest manifest) {
|
||||
ManifestLayerArchiveFactory(ImageArchiveManifest manifest) {
|
||||
this.layers = manifest.getEntries()
|
||||
.stream()
|
||||
.flatMap((entry) -> entry.getLayers().stream())
|
||||
|
||||
Reference in New Issue
Block a user