You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2019/10/23 15:26:20 UTC
[httpcomponents-client] branch HTTPCLIENT-2018 created (now 47ffb6a)
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a change to branch HTTPCLIENT-2018
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git.
at 47ffb6a HTTPCLIENT-2018: Upgraded Commons Code dependency to version 1.13
This branch includes the following new commits:
new 4d3b3ee Removed Base64 decoding from TestByteArrayCacheEntrySerializer
new 47ffb6a HTTPCLIENT-2018: Upgraded Commons Code dependency to version 1.13
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[httpcomponents-client] 02/02: HTTPCLIENT-2018: Upgraded Commons
Code dependency to version 1.13
Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch HTTPCLIENT-2018
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git
commit 47ffb6a5f8778b8e74841a023e49cb79182cd9fc
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Wed Oct 23 17:25:40 2019 +0200
HTTPCLIENT-2018: Upgraded Commons Code dependency to version 1.13
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 16439db..92d85d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -69,7 +69,7 @@
<maven.compiler.target>1.7</maven.compiler.target>
<httpcore.version>5.0-beta9</httpcore.version>
<log4j.version>2.9.1</log4j.version>
- <commons-codec.version>1.12</commons-codec.version>
+ <commons-codec.version>1.13</commons-codec.version>
<conscrypt.version>1.4.1</conscrypt.version>
<ehcache.version>3.4.0</ehcache.version>
<memcached.version>2.12.3</memcached.version>
[httpcomponents-client] 01/02: Removed Base64 decoding from
TestByteArrayCacheEntrySerializer
Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch HTTPCLIENT-2018
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git
commit 4d3b3ee2a33b2ef36facf8dcb8406e29b35c515b
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Wed Oct 23 17:24:56 2019 +0200
Removed Base64 decoding from TestByteArrayCacheEntrySerializer
---
.../http/impl/cache/TestByteArrayCacheEntrySerializer.java | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/httpclient5-cache/src/test/java/org/apache/hc/client5/http/impl/cache/TestByteArrayCacheEntrySerializer.java b/httpclient5-cache/src/test/java/org/apache/hc/client5/http/impl/cache/TestByteArrayCacheEntrySerializer.java
index 1f7d520..98f8c18 100644
--- a/httpclient5-cache/src/test/java/org/apache/hc/client5/http/impl/cache/TestByteArrayCacheEntrySerializer.java
+++ b/httpclient5-cache/src/test/java/org/apache/hc/client5/http/impl/cache/TestByteArrayCacheEntrySerializer.java
@@ -38,7 +38,6 @@ import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;
-import org.apache.commons.codec.binary.Base64;
import org.apache.hc.client5.http.cache.HttpCacheEntry;
import org.apache.hc.client5.http.cache.HttpCacheStorageEntry;
import org.apache.hc.client5.http.cache.ResourceIOException;
@@ -119,9 +118,12 @@ public class TestByteArrayCacheEntrySerializer {
final Map<String,String> variantMap = new HashMap<>();
variantMap.put("test variant 1","true");
variantMap.put("test variant 2","true");
- final HttpCacheEntry cacheEntry = new HttpCacheEntry(new Date(), new Date(),
- HttpStatus.SC_OK, headers,
- new HeapResource(Base64.decodeBase64(body.getBytes(UTF8))), variantMap);
+ final HttpCacheEntry cacheEntry = new HttpCacheEntry(
+ new Date(),
+ new Date(),
+ HttpStatus.SC_OK,
+ headers,
+ new HeapResource(body.getBytes(UTF8)), variantMap);
return new HttpCacheStorageEntry(key, cacheEntry);
}