From 46906753473c2fb56ecc3764686e8a8419bdff23 Mon Sep 17 00:00:00 2001 From: Silvio Giebl Date: Sat, 10 Feb 2024 22:55:04 +0100 Subject: [PATCH] Fix formatting --- core/src/main/java/org/testcontainers/images/ImageData.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/testcontainers/images/ImageData.java b/core/src/main/java/org/testcontainers/images/ImageData.java index 16304b5276e..5b9f8227924 100644 --- a/core/src/main/java/org/testcontainers/images/ImageData.java +++ b/core/src/main/java/org/testcontainers/images/ImageData.java @@ -18,8 +18,9 @@ public class ImageData { static ImageData from(InspectImageResponse inspectImageResponse) { final String created = inspectImageResponse.getCreated(); - final Instant createdInstant = - ((created == null) || created.isEmpty()) ? Instant.EPOCH : ZonedDateTime.parse(created).toInstant(); + final Instant createdInstant = ((created == null) || created.isEmpty()) + ? Instant.EPOCH + : ZonedDateTime.parse(created).toInstant(); return ImageData.builder().createdAt(createdInstant).build(); }