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();