From 61fb960da91e6ebb9b153dd40653a0ce6f958414 Mon Sep 17 00:00:00 2001 From: Abhishek Radhakrishnan Date: Mon, 11 Mar 2024 20:34:50 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Kashif Faraz --- .../client/indexing/ClientKillUnusedSegmentsTaskQuery.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/apache/druid/client/indexing/ClientKillUnusedSegmentsTaskQuery.java b/server/src/main/java/org/apache/druid/client/indexing/ClientKillUnusedSegmentsTaskQuery.java index 099ab2ada838..b2d1953f0cce 100644 --- a/server/src/main/java/org/apache/druid/client/indexing/ClientKillUnusedSegmentsTaskQuery.java +++ b/server/src/main/java/org/apache/druid/client/indexing/ClientKillUnusedSegmentsTaskQuery.java @@ -41,7 +41,8 @@ public class ClientKillUnusedSegmentsTaskQuery implements ClientTaskQuery private final String id; private final String dataSource; private final Interval interval; - @Nullable private final List versions; + @Nullable + private final List versions; private final Boolean markAsUnused; private final Integer batchSize; @Nullable private final Integer limit; @@ -52,7 +53,7 @@ public ClientKillUnusedSegmentsTaskQuery( @JsonProperty("id") String id, @JsonProperty("dataSource") String dataSource, @JsonProperty("interval") Interval interval, - @JsonProperty("versions") List versions, + @JsonProperty("versions") @Nullable List versions, @JsonProperty("markAsUnused") @Deprecated Boolean markAsUnused, @JsonProperty("batchSize") Integer batchSize, @JsonProperty("limit") @Nullable Integer limit,