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/05/20 14:06:28 UTC
[httpcomponents-core] branch 4.4.x updated: (HTTPCORE-578)
Incorrect serialization of HeaderGroup (#127)
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch 4.4.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
The following commit(s) were added to refs/heads/4.4.x by this push:
new fb38b82 (HTTPCORE-578) Incorrect serialization of HeaderGroup (#127)
fb38b82 is described below
commit fb38b824b5158fdb17bb59ba72ff260fc3c272ee
Author: Gary Gregory <ga...@users.noreply.github.com>
AuthorDate: Mon May 20 09:37:00 2019 -0400
(HTTPCORE-578) Incorrect serialization of HeaderGroup (#127)
---
httpcore/src/main/java/org/apache/http/message/HeaderGroup.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java b/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
index 2640436..406e1d6 100644
--- a/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
+++ b/httpcore/src/main/java/org/apache/http/message/HeaderGroup.java
@@ -49,7 +49,7 @@ public class HeaderGroup implements Cloneable, Serializable {
private static final long serialVersionUID = 2608834160639271617L;
- private final Header[] EMPTY = new Header[] {};
+ private static final Header[] EMPTY = new Header[] {};
/** The list of headers for this group, in the order in which they were added */
private final List<Header> headers;