mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Fix incorrect checkArgument
This commit is contained in:
parent
5be2ea5830
commit
3b0ad356b4
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ public class HttpClientImpl implements HttpClient {
|
||||||
@Nullable String headerKey,
|
@Nullable String headerKey,
|
||||||
@Nullable String headerValue) throws IOException {
|
@Nullable String headerValue) throws IOException {
|
||||||
checkNotNull(baseUrl, "baseUrl must be set before calling doRequest");
|
checkNotNull(baseUrl, "baseUrl must be set before calling doRequest");
|
||||||
checkArgument(hasPendingRequest, "We got called on the same HttpClient again while a request is still open.");
|
checkArgument(!hasPendingRequest, "We got called on the same HttpClient again while a request is still open.");
|
||||||
|
|
||||||
hasPendingRequest = true;
|
hasPendingRequest = true;
|
||||||
Socks5Proxy socks5Proxy = getSocks5Proxy(socks5ProxyProvider);
|
Socks5Proxy socks5Proxy = getSocks5Proxy(socks5ProxyProvider);
|
||||||
|
|
Loading…
Add table
Reference in a new issue