Skip to content

Commit

Permalink
Remove unused ?master_node_timeout compat shims
Browse files Browse the repository at this point in the history
These overloads are no longer used so this commit removes them.

Relates elastic#107984
  • Loading branch information
DaveCTurner committed May 14, 2024
1 parent 77ce605 commit 2a02128
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ protected AcknowledgedRequest(TimeValue masterNodeTimeout, TimeValue ackTimeout)
this.ackTimeout = Objects.requireNonNull(ackTimeout);
}

@Deprecated(forRemoval = true) // just a temporary compatibility shim
protected AcknowledgedRequest(TimeValue ackTimeout) {
this(MasterNodeRequest.TRAPPY_IMPLICIT_DEFAULT_MASTER_NODE_TIMEOUT, ackTimeout);
}

protected AcknowledgedRequest(StreamInput in) throws IOException {
super(in);
this.ackTimeout = in.readTimeValue();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ public Request(TimeValue masterNodeTimeout, TimeValue requestTimeout) {
this.requestTimeout = Objects.requireNonNull(requestTimeout);
}

@Deprecated(forRemoval = true) // temporary compatibility shi
public Request(TimeValue timeout) {
this(TRAPPY_IMPLICIT_DEFAULT_MASTER_NODE_TIMEOUT, timeout);
}

public Request(StreamInput in) throws IOException {
super(in);
this.requestTimeout = in.readTimeValue();
Expand Down

0 comments on commit 2a02128

Please sign in to comment.