Skip to content

Commit

Permalink
Resolve unchecked cast warnings introduced with #28892
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed Mar 30, 2018
1 parent b67b5b1 commit bcc9cbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void writeTo(StreamOutput out) throws IOException {
@Override
public boolean equals(Object o) {
if (super.equals(o)) {
AcknowledgedRequest<Request> that = (AcknowledgedRequest<Request>) o;
AcknowledgedRequest<?> that = (AcknowledgedRequest<?>) o;
return Objects.equals(timeout, that.timeout);
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public boolean equals(Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
MasterNodeRequest<Request> that = (MasterNodeRequest<Request>) o;
MasterNodeRequest<?> that = (MasterNodeRequest<?>) o;
return Objects.equals(masterNodeTimeout, that.masterNodeTimeout);
}

Expand Down

0 comments on commit bcc9cbf

Please sign in to comment.