From a43920a2fe195b0dd8b11d4225d3c6842ab5ec2c Mon Sep 17 00:00:00 2001 From: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> Date: Fri, 16 Jun 2023 13:55:57 -0400 Subject: [PATCH] Apply suggestions from code review Signed-off-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> --- server/src/main/java/org/opensearch/tasks/CancellableTask.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/main/java/org/opensearch/tasks/CancellableTask.java b/server/src/main/java/org/opensearch/tasks/CancellableTask.java index 703203cff117c..8dc3703ba8147 100644 --- a/server/src/main/java/org/opensearch/tasks/CancellableTask.java +++ b/server/src/main/java/org/opensearch/tasks/CancellableTask.java @@ -106,14 +106,12 @@ public boolean cancelOnParentLeaving() { return true; } - @Nullable @Nullable public Long getCancellationStartTime() { CancelledInfo info = cancelledInfo.get(); return (info != null) ? info.cancellationStartTime : null; } - @Nullable @Nullable public Long getCancellationStartTimeNanos() { CancelledInfo info = cancelledInfo.get();