From 07b8b76a1d274dfdc455e34b3470894203df235c Mon Sep 17 00:00:00 2001 From: Michiel Meeuwissen Date: Wed, 14 Feb 2024 22:11:14 +0100 Subject: [PATCH] Spacing only --- .../api/client/utils/ApiProfileServiceImpl.java | 8 ++++---- .../api/client/utils/MediaRestClientUtils.java | 10 +++++----- .../nl/vpro/api/client/utils/NpoApiImageUtil.java | 2 +- .../nl/vpro/api/client/utils/NpoApiMediaUtil.java | 2 +- .../vpro/api/client/utils/PageUpdateApiUtil.java | 15 +++++++-------- 5 files changed, 18 insertions(+), 19 deletions(-) diff --git a/client-extras/src/main/java/nl/vpro/api/client/utils/ApiProfileServiceImpl.java b/client-extras/src/main/java/nl/vpro/api/client/utils/ApiProfileServiceImpl.java index 895b764e..a6c10584 100644 --- a/client-extras/src/main/java/nl/vpro/api/client/utils/ApiProfileServiceImpl.java +++ b/client-extras/src/main/java/nl/vpro/api/client/utils/ApiProfileServiceImpl.java @@ -1,14 +1,14 @@ package nl.vpro.api.client.utils; +import jakarta.inject.Inject; +import jakarta.inject.Named; +import jakarta.validation.constraints.NotNull; + import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; -import jakarta.inject.Inject; -import jakarta.inject.Named; -import jakarta.validation.constraints.NotNull; - import com.google.common.cache.*; import nl.vpro.api.client.frontend.NpoApiClients; diff --git a/client-extras/src/main/java/nl/vpro/api/client/utils/MediaRestClientUtils.java b/client-extras/src/main/java/nl/vpro/api/client/utils/MediaRestClientUtils.java index cb59c80f..e67060f7 100644 --- a/client-extras/src/main/java/nl/vpro/api/client/utils/MediaRestClientUtils.java +++ b/client-extras/src/main/java/nl/vpro/api/client/utils/MediaRestClientUtils.java @@ -1,16 +1,16 @@ package nl.vpro.api.client.utils; +import jakarta.validation.constraints.NotNull; +import jakarta.ws.rs.*; +import jakarta.ws.rs.core.Response; import lombok.extern.slf4j.Slf4j; -import java.io.*; +import java.io.IOException; +import java.io.InputStream; import java.time.Instant; import java.util.*; import java.util.function.Supplier; -import jakarta.validation.constraints.NotNull; -import jakarta.ws.rs.*; -import jakarta.ws.rs.core.Response; - import org.apache.commons.io.IOUtils; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; diff --git a/client-extras/src/main/java/nl/vpro/api/client/utils/NpoApiImageUtil.java b/client-extras/src/main/java/nl/vpro/api/client/utils/NpoApiImageUtil.java index 939ef2a7..20d0f1b4 100644 --- a/client-extras/src/main/java/nl/vpro/api/client/utils/NpoApiImageUtil.java +++ b/client-extras/src/main/java/nl/vpro/api/client/utils/NpoApiImageUtil.java @@ -12,7 +12,7 @@ import jakarta.inject.Inject; import jakarta.inject.Named; -import jakarta.validation.constraints.NotNull; +import jakarta.validation.constraints.NotNull; import nl.vpro.domain.media.support.ImageUrlService; diff --git a/client-extras/src/main/java/nl/vpro/api/client/utils/NpoApiMediaUtil.java b/client-extras/src/main/java/nl/vpro/api/client/utils/NpoApiMediaUtil.java index 0cf54849..0cd05114 100644 --- a/client-extras/src/main/java/nl/vpro/api/client/utils/NpoApiMediaUtil.java +++ b/client-extras/src/main/java/nl/vpro/api/client/utils/NpoApiMediaUtil.java @@ -14,7 +14,7 @@ import jakarta.inject.Inject; import jakarta.inject.Named; -import jakarta.validation.constraints.NotNull; +import jakarta.validation.constraints.NotNull; import jakarta.ws.rs.ProcessingException; import jakarta.ws.rs.core.Response; diff --git a/client-extras/src/main/java/nl/vpro/api/client/utils/PageUpdateApiUtil.java b/client-extras/src/main/java/nl/vpro/api/client/utils/PageUpdateApiUtil.java index 733dc654..1de5c7cc 100644 --- a/client-extras/src/main/java/nl/vpro/api/client/utils/PageUpdateApiUtil.java +++ b/client-extras/src/main/java/nl/vpro/api/client/utils/PageUpdateApiUtil.java @@ -1,5 +1,12 @@ package nl.vpro.api.client.utils; +import jakarta.inject.Inject; +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotNull; +import jakarta.ws.rs.NotFoundException; +import jakarta.ws.rs.ProcessingException; +import jakarta.ws.rs.core.MultivaluedMap; +import jakarta.ws.rs.core.Response; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; @@ -11,14 +18,6 @@ import java.util.Optional; import java.util.function.Function; -import jakarta.inject.Inject; -import jakarta.validation.Valid; -import jakarta.validation.constraints.NotNull; -import jakarta.ws.rs.NotFoundException; -import jakarta.ws.rs.ProcessingException; -import jakarta.ws.rs.core.MultivaluedMap; -import jakarta.ws.rs.core.Response; - import org.apache.commons.lang3.exception.ExceptionUtils; import org.apache.http.impl.execchain.RequestAbortedException;