httpcomponents-client.git
10 hours agoadd br decompression support (#363) master
殷成涛 [Wed, 18 May 2022 13:18:25 +0000 (21:18 +0800)] 
add br decompression support (#363)

43 hours agochore(deps): Included dependency review
naveensrinivasan [Sun, 15 May 2022 22:29:36 +0000 (17:29 -0500)] 
chore(deps): Included dependency review

> Dependency Review GitHub Action in your repository to enforce dependency
> reviews on your pull requests.
> The action scans for vulnerable versions of dependencies introduced by package version
> changes in pull requests,
> and warns you about the associated security vulnerabilities.
> This gives you better visibility of what's changing in a pull request,
> and helps prevent vulnerabilities being added to your repository.

https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
5 days agochore: Set permissions for GitHub actions
nathannaveen [Fri, 13 May 2022 01:30:12 +0000 (01:30 +0000)] 
chore: Set permissions for GitHub actions

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
7 days agoRefactor testcase
niranjan ghule [Sun, 8 May 2022 04:33:44 +0000 (10:03 +0530)] 
Refactor testcase

13 days agoRemove unused code
niranjan ghule [Wed, 4 May 2022 17:25:56 +0000 (22:55 +0530)] 
Remove unused code

13 days agoHTTPCLIENT-2212: MinimalHttpAsyncClient fails to release client endpoints in case...
Oleg Kalnichevski [Wed, 4 May 2022 19:13:52 +0000 (21:13 +0200)] 
HTTPCLIENT-2212: MinimalHttpAsyncClient fails to release client endpoints in case of a connect error (such as TLS handshake failure)

2 weeks agoUpdated copyright statement in NOTICE.txt
Prashant Singh [Wed, 4 May 2022 05:28:57 +0000 (10:58 +0530)] 
Updated copyright statement in NOTICE.txt

6 weeks agoCreate daemon threads in InternalAbstractHttpAsyncClient
Richard Hernandez [Wed, 6 Apr 2022 15:52:09 +0000 (08:52 -0700)] 
Create daemon threads in InternalAbstractHttpAsyncClient

7 weeks agoHTTPCLIENT-2080: add getRetryInterval to HttpRequestRetryStrategy for use on retriabl...
Anthony Baldocchi [Wed, 30 Mar 2022 14:31:07 +0000 (09:31 -0500)] 
HTTPCLIENT-2080: add getRetryInterval to HttpRequestRetryStrategy for use on retriable IOExceptions (#356)

8 weeks agoFix infinite recursion in SSLConnectionSocketFactory
Ryan Schmitt [Tue, 22 Mar 2022 23:37:25 +0000 (16:37 -0700)] 
Fix infinite recursion in SSLConnectionSocketFactory

2 months agoHTTPCLIENT-2200: Protocol interceptors are executed before the connection route has...
Oleg Kalnichevski [Thu, 27 Jan 2022 10:59:10 +0000 (11:59 +0100)] 
HTTPCLIENT-2200: Protocol interceptors are executed before the connection route has been fully established

2 months agoUpgraded HttpCore to version 5.2-beta1
Oleg Kalnichevski [Thu, 17 Mar 2022 16:18:12 +0000 (17:18 +0100)] 
Upgraded HttpCore to version 5.2-beta1

2 months agoStringBody: just write the bytes to the output stream
John Gallagher [Tue, 15 Mar 2022 20:38:52 +0000 (16:38 -0400)] 
StringBody: just write the bytes to the output stream

2 months agoHTTPCLIENT-2209: Pass HttpContext to AsyncClientConnectionOperator (#353)
Andriy Redko [Sat, 12 Mar 2022 17:53:45 +0000 (12:53 -0500)] 
HTTPCLIENT-2209: Pass HttpContext to AsyncClientConnectionOperator (#353)

2 months agoHTTPCLIENT-2206: Corrected resource de-allocation by fluent response objects
Oleg Kalnichevski [Sat, 26 Feb 2022 13:45:43 +0000 (14:45 +0100)] 
HTTPCLIENT-2206: Corrected resource de-allocation by fluent response objects

2 months agoOptimize ExecSupport.getNextExchangeId() (#352)
David Schlosnagle [Sat, 26 Feb 2022 11:45:18 +0000 (06:45 -0500)] 
Optimize ExecSupport.getNextExchangeId() (#352)

2 months agoAdded option to set an IOSessionListener on async client builders
cda007 [Fri, 18 Feb 2022 10:32:30 +0000 (11:32 +0100)] 
Added option to set an IOSessionListener on async client builders

3 months agoHTTPCLIENT-2203: Corrected target host normalization by the request execution interce...
Oleg Kalnichevski [Sun, 13 Feb 2022 17:51:34 +0000 (18:51 +0100)] 
HTTPCLIENT-2203: Corrected target host normalization by the request execution interceptors; added ContextBuilder with support for preemptive authentication initialization

3 months agoHTTPCLIENT-2202: MemcachedHttpCacheStorage to support MemcachedClientIF interface
Oleg Kalnichevski [Thu, 10 Feb 2022 19:33:05 +0000 (20:33 +0100)] 
HTTPCLIENT-2202: MemcachedHttpCacheStorage to support MemcachedClientIF interface

3 months agoFixed incompatibility with older versions of Android shipping with Commons Codec...
Oleg Kalnichevski [Mon, 24 Jan 2022 13:12:56 +0000 (14:12 +0100)] 
Fixed incompatibility with older versions of Android shipping with Commons Codec < 1.4

3 months agoBug fix: ByteArrayBuilder incorrectly handles empty strings
Oleg Kalnichevski [Mon, 24 Jan 2022 12:58:07 +0000 (13:58 +0100)] 
Bug fix: ByteArrayBuilder incorrectly handles empty strings

3 months agoHTTPCLIENT-2198, Fixed NPE in TlsConfig.toString()
Andrei Vasilev [Fri, 21 Jan 2022 18:53:14 +0000 (10:53 -0800)] 
HTTPCLIENT-2198, Fixed NPE in TlsConfig.toString()

Replaced called to Arrays.asList() to Arrays.toString(), which allows for null argument.

3 months agoHTTPCLIENT-2198, Fixed AbstractClientTlsStrategy to respect HttpVersionPolicy
Andrei Vasilev [Thu, 20 Jan 2022 22:29:38 +0000 (14:29 -0800)] 
HTTPCLIENT-2198, Fixed AbstractClientTlsStrategy to respect HttpVersionPolicy

Updated AbstractClientTlsStrategy to pass only the HttpVersionPolicy set by TlsConfig  instead of the entire TlsConfig to H2TlsSupport.selectApplicationProtocols() method.

4 months agoHTTPCLIENT-2195, regression: classic ConnectExec incorrectly discards the proxy respo...
Oleg Kalnichevski [Wed, 12 Jan 2022 10:02:53 +0000 (11:02 +0100)] 
HTTPCLIENT-2195, regression: classic ConnectExec incorrectly discards the proxy response body even if the request cannot be executed and the response is final

4 months agoRemove no need it ConnectionConfig.
Arturo Bernal [Tue, 11 Jan 2022 18:00:18 +0000 (19:00 +0100)] 
Remove no need it ConnectionConfig.

4 months agoHTTPCLIENT-2188 - Improve logging when BasicHttpClientConnectionManager is still...
Arturo Bernal [Tue, 11 Jan 2022 17:53:56 +0000 (18:53 +0100)] 
HTTPCLIENT-2188 - Improve logging when BasicHttpClientConnectionManager is still allocated

4 months agoHttpclient-2194 async retries not including body (#343)
JasonMathison [Wed, 5 Jan 2022 20:54:46 +0000 (15:54 -0500)] 
Httpclient-2194 async retries not including body (#343)

4 months agoDeprecated execute methods that return an open response object in favor of execute...
Oleg Kalnichevski [Sun, 26 Dec 2021 11:35:47 +0000 (12:35 +0100)] 
Deprecated execute methods that return an open response object in favor of execute methods with a response handler and automatic resource deallocation

4 months agoBump log4j to 2.17.0
Pedro Coelho Torres [Wed, 22 Dec 2021 18:53:43 +0000 (13:53 -0500)] 
Bump log4j to 2.17.0

5 months agoBug fix: Incorrect connection validity check in the async connection manager can...
Oleg Kalnichevski [Thu, 16 Dec 2021 19:40:04 +0000 (20:40 +0100)] 
Bug fix: Incorrect connection validity check in the async connection manager can cause an IllegalStateException and lead to a connection leak. Treat closed connections as valid due to the connection open check being inherently racy

5 months agoBump log4j to 2.16.0
mxd4 [Wed, 15 Dec 2021 10:04:15 +0000 (11:04 +0100)] 
Bump log4j to 2.16.0

5 months agoMethod to check if the connection manager has been shut down and is closed or not.
Arturo Bernal [Sat, 11 Dec 2021 15:23:12 +0000 (16:23 +0100)] 
Method to check if the connection manager has been shut down and is closed or not.

5 months agoAvoid redundant validation of '\"'. Its check it before.
Arturo Bernal [Sat, 11 Dec 2021 16:28:14 +0000 (17:28 +0100)] 
Avoid redundant validation of '\"'. Its check it before.

5 months agoExpose method to check the cache is still active.
Arturo Bernal [Fri, 10 Dec 2021 22:20:56 +0000 (23:20 +0100)] 
Expose method to check the cache is still active.

5 months agoComplete test for HTTP Methods.
Arturo Bernal [Fri, 3 Dec 2021 23:23:31 +0000 (00:23 +0100)] 
Complete test for HTTP Methods.

5 months agoHTTPCLIENT-2189 - Cookie and Cache APIs to use Java time primitives
Arturo Bernal [Tue, 23 Nov 2021 05:27:33 +0000 (06:27 +0100)] 
HTTPCLIENT-2189 - Cookie and Cache APIs to use Java time primitives

5 months agoHTTPCLIENT-2186 - Migrate Test to Unit 5.
Arturo Bernal [Thu, 18 Nov 2021 05:40:38 +0000 (06:40 +0100)] 
HTTPCLIENT-2186 - Migrate Test to Unit 5.

5 months agoConvert QOP constants into an enum.
Arturo Bernal [Thu, 18 Nov 2021 21:50:21 +0000 (22:50 +0100)] 
Convert QOP constants into an enum.

6 months agoHTTPCLIENT-2065: Simplify additon of content type parameters in MultipartEntityBuilder
Arturo Bernal [Mon, 1 Nov 2021 08:41:58 +0000 (09:41 +0100)] 
HTTPCLIENT-2065: Simplify additon of content type parameters in MultipartEntityBuilder

This closes #320

6 months agoHTTPCLIENT-2066 Provide ByteArrayBody constructors w/o filename parameter
Arturo Bernal [Sat, 30 Oct 2021 08:49:49 +0000 (10:49 +0200)] 
HTTPCLIENT-2066 Provide ByteArrayBody constructors w/o filename parameter

This closes #319

6 months agoHTTPCLIENT-2079: version.properties contains non-interpolated value
Arturo Bernal [Mon, 1 Nov 2021 16:50:10 +0000 (17:50 +0100)] 
HTTPCLIENT-2079: version.properties contains non-interpolated value

This closes #321

6 months agoApply English locale to all date header formatters
Michael Osipov [Sat, 13 Nov 2021 16:09:45 +0000 (17:09 +0100)] 
Apply English locale to all date header formatters

6 months agoHTTPCLIENT-2184: Fix classic client connection reuse
Carter Kozak [Fri, 12 Nov 2021 18:39:31 +0000 (13:39 -0500)] 
HTTPCLIENT-2184: Fix classic client connection reuse

This fixes an issue in which connections were not returned to the
pool when requests contained non-repeatable bodies AND responses
were streamed. When both of these criteria were met, responses
were returned without ResponseEntityProxy enhancements so that
closing the response entity or stream no longer completed the
exchange, thus leaking the connection which forever lived in the
`leased` state in the connection pool.

6 months agoFix typo method and class. Deprecate the old ones.
Arturo Bernal [Thu, 11 Nov 2021 13:11:24 +0000 (14:11 +0100)] 
Fix typo method and class. Deprecate the old ones.

6 months agoUpdated examples and unit tests to make use of lambda expressions for response messag...
Oleg Kalnichevski [Fri, 12 Nov 2021 21:16:43 +0000 (22:16 +0100)] 
Updated examples and unit tests to make use of lambda expressions for response message processing

6 months agoUse Java 8 Time APIs for date / time operations in the HTTP cache tests
Oleg Kalnichevski [Mon, 8 Nov 2021 13:21:31 +0000 (14:21 +0100)] 
Use Java 8 Time APIs for date / time operations in the HTTP cache tests

6 months agoAdd @OverRide.
Arturo Bernal [Sat, 6 Nov 2021 07:47:14 +0000 (08:47 +0100)] 
Add @OverRide.

6 months agoUse {@code } instead <code>.
Arturo Bernal [Sat, 6 Nov 2021 07:13:55 +0000 (08:13 +0100)] 
Use {@code } instead <code>.

6 months agoUpgraded HttpClient version to 5.2-alpha2-SNAPSHOT
Oleg Kalnichevski [Mon, 1 Nov 2021 17:04:02 +0000 (18:04 +0100)] 
Upgraded HttpClient version to 5.2-alpha2-SNAPSHOT

6 months agoFixed javadoc errors
Oleg Kalnichevski [Fri, 29 Oct 2021 12:55:37 +0000 (14:55 +0200)] 
Fixed javadoc errors

6 months agoUpdated release notes for HttpClient 5.2-alpha1 release
Oleg Kalnichevski [Thu, 28 Oct 2021 12:39:17 +0000 (14:39 +0200)] 
Updated release notes for HttpClient 5.2-alpha1 release

6 months agoMake IOReactor IO session decorator and exception callback configurable.
Arturo Bernal [Sun, 24 Oct 2021 14:42:18 +0000 (16:42 +0200)] 
Make IOReactor IO session decorator and exception callback configurable.

6 months agoReplaced SimpleDateFormat and Calendar with Java 8 Time APIs; removed thread-local...
Oleg Kalnichevski [Sat, 23 Oct 2021 17:48:00 +0000 (19:48 +0200)] 
Replaced SimpleDateFormat and Calendar with Java 8 Time APIs; removed thread-local from DateUtils

6 months agoUpdated connection and TLS configuration examples
Oleg Kalnichevski [Sat, 23 Oct 2021 17:48:00 +0000 (19:48 +0200)] 
Updated connection and TLS configuration examples

6 months agoSupport for connection TTL setting on a per-route basis
Oleg Kalnichevski [Sat, 23 Oct 2021 13:57:00 +0000 (15:57 +0200)] 
Support for connection TTL setting on a per-route basis

6 months agoMake IOReactor IO session decorator configurable.
Arturo Bernal [Sat, 23 Oct 2021 07:12:38 +0000 (09:12 +0200)] 
Make IOReactor IO session decorator configurable.

6 months agoUpgraded HttpCore to version 5.2-alpha2
Oleg Kalnichevski [Wed, 20 Oct 2021 12:50:45 +0000 (14:50 +0200)] 
Upgraded HttpCore to version 5.2-alpha2

6 months agoChange loop that don't loop for "if" conditions.
Arturo Bernal [Sun, 17 Oct 2021 13:46:36 +0000 (15:46 +0200)] 
Change loop that don't loop for "if" conditions.

6 months ago* Fix javadoc typo.
Arturo Bernal [Sun, 17 Oct 2021 07:40:12 +0000 (09:40 +0200)] 
* Fix javadoc typo.
* Use java array declarations instead of "c" way.

6 months agoRe-use core URIScheme instead of String.
Arturo Bernal [Sun, 17 Oct 2021 10:56:38 +0000 (12:56 +0200)] 
Re-use core URIScheme instead of String.

6 months agoDon't initialize AtomicReference to its default value.
Gary Gregory [Wed, 13 Oct 2021 20:04:10 +0000 (16:04 -0400)] 
Don't initialize AtomicReference to its default value.

6 months agoHTTPCLIENT-2182: access to SSLSession attributes via reflection disallowed as of...
Oleg Kalnichevski [Wed, 13 Oct 2021 09:44:33 +0000 (11:44 +0200)] 
HTTPCLIENT-2182: access to SSLSession attributes via reflection disallowed as of Java 16. Core TLS functions now use new Java 1.8 API introduced by 8u251 update

6 months agoHTTPCLIENT-2135: TLS configuration on a per-host basis
Oleg Kalnichevski [Sun, 12 Sep 2021 12:54:32 +0000 (14:54 +0200)] 
HTTPCLIENT-2135: TLS configuration on a per-host basis

7 months agoUpdate Travis builds to LTS versions.
Gary Gregory [Mon, 11 Oct 2021 17:21:45 +0000 (13:21 -0400)] 
Update Travis builds to LTS versions.

7 months agoUse compact array initialization syntax.
Gary Gregory [Mon, 11 Oct 2021 18:49:16 +0000 (14:49 -0400)] 
Use compact array initialization syntax.

7 months agoUpdate some dependencies.
Gary Gregory [Mon, 11 Oct 2021 16:10:26 +0000 (12:10 -0400)] 
Update some dependencies.

- io.reactivex.rxjava2:rxjava .......................... 2.2.7 -> 2.2.21
- junit:junit ........................................... 4.13 -> 4.13.2
- net.java.dev.jna:jna .................................. 5.2.0 -> 5.9.0
- net.java.dev.jna:jna-platform ......................... 5.2.0 -> 5.9.0
- org.apache.logging.log4j:log4j-core .................. 2.9.1 -> 2.14.1
- org.apache.logging.log4j:log4j-slf4j-impl ............ 2.9.1 -> 2.14.1
- org.conscrypt:conscrypt-openjdk-uber .................. 2.2.1 -> 2.5.2
- org.ehcache.modules:ehcache-api ....................... 3.4.0 -> 3.9.6
- org.mockito:mockito-core ............................. 3.10.0 -> 4.0.0
- JApiCmp ............................................. 0.15.3 -> 0.15.4

7 months agoDon't initialize AtomicReference to its default value.
Gary Gregory [Mon, 11 Oct 2021 15:41:23 +0000 (11:41 -0400)] 
Don't initialize AtomicReference to its default value.

7 months agoCorrected resolution of the target host in DefaultUserTokenHandler
Oleg Kalnichevski [Sun, 26 Sep 2021 13:51:23 +0000 (15:51 +0200)] 
Corrected resolution of the target host in DefaultUserTokenHandler

7 months agoRFC 7230: treat presence of a userinfo component in request URI as an HTTP protocol...
Oleg Kalnichevski [Sun, 26 Sep 2021 09:49:59 +0000 (11:49 +0200)] 
RFC 7230: treat presence of a userinfo component in request URI as an HTTP protocol violation

7 months agoAuthCache conformance to RFC 7617
Oleg Kalnichevski [Sun, 26 Sep 2021 09:21:13 +0000 (11:21 +0200)] 
AuthCache conformance to RFC 7617

7 months agoAlways bind the exchange ID to the execution context
Oleg Kalnichevski [Mon, 27 Sep 2021 12:35:24 +0000 (14:35 +0200)] 
Always bind the exchange ID to the execution context

7 months agoLogger cleanup (no functional changes)
Oleg Kalnichevski [Sat, 25 Sep 2021 16:55:46 +0000 (18:55 +0200)] 
Logger cleanup (no functional changes)

7 months agoRefactored AuthCache keeping logic into a separate utility class
Oleg Kalnichevski [Sat, 25 Sep 2021 16:52:51 +0000 (18:52 +0200)] 
Refactored AuthCache keeping logic into a separate utility class

7 months agoMore consistent handling of request scheme and authority by protocol interceptors
Oleg Kalnichevski [Fri, 24 Sep 2021 21:18:02 +0000 (23:18 +0200)] 
More consistent handling of request scheme and authority by protocol interceptors

7 months agoCleanup of authentication test cases
Oleg Kalnichevski [Fri, 24 Sep 2021 14:07:20 +0000 (16:07 +0200)] 
Cleanup of authentication test cases

7 months agoAdded immutable CredentialsProvider implementations and a CredentialsProvider builder...
Oleg Kalnichevski [Thu, 23 Sep 2021 10:34:27 +0000 (12:34 +0200)] 
Added immutable CredentialsProvider implementations and a CredentialsProvider builder; changed test cases and examples to use immutable CredentialsProvider where possible

7 months agoHTTPCLIENT-2120: force HTTP/1.1 protocol policy when creating a tunnel via HTTP/1...
Oleg Kalnichevski [Tue, 21 Sep 2021 19:39:51 +0000 (21:39 +0200)] 
HTTPCLIENT-2120: force HTTP/1.1 protocol policy when creating a tunnel via HTTP/1.1 proxy

7 months agoBetter connect operation logging
Oleg Kalnichevski [Thu, 16 Sep 2021 15:20:52 +0000 (17:20 +0200)] 
Better connect operation logging

7 months agoHTTPCLIENT-2177: fixed incorrect route state tracking by the async connect executor...
Oleg Kalnichevski [Fri, 17 Sep 2021 14:28:18 +0000 (16:28 +0200)] 
HTTPCLIENT-2177: fixed incorrect route state tracking by the async connect executor when negotiating a tunnel via a proxy

7 months agoHTTPCLIENT-2177: keep successful tunnel connections alive regardless of `Connection...
Oleg Kalnichevski [Fri, 17 Sep 2021 14:23:21 +0000 (16:23 +0200)] 
HTTPCLIENT-2177: keep successful tunnel connections alive regardless of `Connection: close`

8 months agoHTTPCLIENT-2045: BASIC auth scheme conformance to RFC 7617
Oleg Kalnichevski [Mon, 13 Sep 2021 17:15:22 +0000 (19:15 +0200)] 
HTTPCLIENT-2045: BASIC auth scheme conformance to RFC 7617

8 months agoFix bad test class name
Marcono1234 [Sat, 11 Sep 2021 14:46:03 +0000 (16:46 +0200)] 
Fix bad test class name

8 months agoHTTPCLIENT-2120: support for H2 via HTTP/1.1 proxy
Oleg Kalnichevski [Fri, 25 Dec 2020 11:34:13 +0000 (12:34 +0100)] 
HTTPCLIENT-2120: support for H2 via HTTP/1.1 proxy

8 months agoUpgraded HttpCore to version 5.2-alpha1
Oleg Kalnichevski [Thu, 9 Sep 2021 12:00:20 +0000 (14:00 +0200)] 
Upgraded HttpCore to version 5.2-alpha1

8 months agoFixed deprecation warnings that could be fixed and suppressed those that could not
Oleg Kalnichevski [Thu, 9 Sep 2021 11:42:12 +0000 (13:42 +0200)] 
Fixed deprecation warnings that could be fixed and suppressed those that could not

8 months agoUse setDefaultConnectionConfig instead of deprecated method setValidateAfterInactivity.
Arturo Bernal [Fri, 27 Aug 2021 05:06:49 +0000 (07:06 +0200)] 
Use setDefaultConnectionConfig instead of deprecated method setValidateAfterInactivity.

8 months agoDon't retry a request for NoRouteToHostException
Jaikiran Pai [Sun, 22 Aug 2021 13:47:57 +0000 (19:17 +0530)] 
Don't retry a request for NoRouteToHostException

8 months agoHTTPCLIENT-2170: Classic protocol layer no longer releases the underlying connection...
Oleg Kalnichevski [Thu, 19 Aug 2021 13:29:39 +0000 (15:29 +0200)] 
HTTPCLIENT-2170: Classic protocol layer no longer releases the underlying connection back to the pool prematurely while the NTLM handshake is still ongoing

9 months agoImprove Travis CI build Performance
Chen Zhang [Mon, 16 Aug 2021 12:55:50 +0000 (20:55 +0800)] 
Improve Travis CI build Performance

10 months agoFixed connection lease request cancellation race in both classic and asyc pooling...
Oleg Kalnichevski [Sun, 20 Jun 2021 19:39:18 +0000 (21:39 +0200)] 
Fixed connection lease request cancellation race in both classic and asyc pooling connection managers

10 months agoBetter exception asserts in unit tests
Oleg Kalnichevski [Sat, 19 Jun 2021 19:09:19 +0000 (21:09 +0200)] 
Better exception asserts in unit tests

10 months agoHTTPCLIENT-1244: Replaced EasyMock with Mockito in the HTTP cache unit tests
Oleg Kalnichevski [Sat, 12 Jun 2021 19:57:44 +0000 (21:57 +0200)] 
HTTPCLIENT-1244: Replaced EasyMock with Mockito in the HTTP cache unit tests

10 months agoReplace assert calls by simpler but equivalent calls.
Arturo Bernal [Sun, 13 Jun 2021 11:30:21 +0000 (13:30 +0200)] 
Replace assert calls by simpler but equivalent calls.

10 months agoSimplify conditions and avoid extra checks.
Arturo Bernal [Sun, 13 Jun 2021 15:35:55 +0000 (17:35 +0200)] 
Simplify conditions and avoid extra checks.
Inline return variables.

11 months agoUpdated test cases with exception asserts
Oleg Kalnichevski [Mon, 24 May 2021 16:40:53 +0000 (18:40 +0200)] 
Updated test cases with exception asserts

11 months agoRemoved references to deprecated Assert#assertThat
Oleg Kalnichevski [Mon, 24 May 2021 14:54:03 +0000 (16:54 +0200)] 
Removed references to deprecated Assert#assertThat

11 months agoUpgraded JUnit to version 4.13
Oleg Kalnichevski [Mon, 24 May 2021 14:48:45 +0000 (16:48 +0200)] 
Upgraded JUnit to version 4.13

11 months agoRedundant type declarations
Oleg Kalnichevski [Mon, 24 May 2021 12:43:18 +0000 (14:43 +0200)] 
Redundant type declarations

11 months agoUpgraded Mockito to version 3.10.0
Oleg Kalnichevski [Mon, 24 May 2021 12:43:08 +0000 (14:43 +0200)] 
Upgraded Mockito to version 3.10.0

11 months agoUpgraded japicmp-maven-plugin to version 0.15.3
Oleg Kalnichevski [Mon, 24 May 2021 10:44:10 +0000 (12:44 +0200)] 
Upgraded japicmp-maven-plugin to version 0.15.3