Skip to content

Commit 8b24709

Browse files
nhachichastIncMale
andauthored
Update driver-core/src/main/com/mongodb/internal/TimeoutContext.java
Co-authored-by: Valentin Kovalenko <valentin.male.kovalenko@gmail.com>
1 parent 0c10988 commit 8b24709

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

driver-core/src/main/com/mongodb/internal/TimeoutContext.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ public Timeout timeoutIncludingRoundTrip() {
168168
return timeout == null ? null : timeout.shortenBy(minRoundTripTimeMS, MILLISECONDS);
169169
}
170170

171-
public Timeout timeoutOrAlternative(final Timeout alternative) {
172-
return timeout == null ? alternative : timeout;
173-
}
174-
175171
/**
176172
* Returns the remaining {@code timeoutMS} if set or the {@code alternativeTimeoutMS}.
177173
*

0 commit comments

Comments
 (0)