You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2016/02/06 04:09:01 UTC

svn commit: r1728787 - in /httpcomponents/httpclient/branches/4.5.x: RELEASE_NOTES.txt fluent-hc/src/main/java/org/apache/http/client/fluent/Content.java

Author: ggregory
Date: Sat Feb  6 03:09:01 2016
New Revision: 1728787

URL: http://svn.apache.org/viewvc?rev=1728787&view=rev
Log:
[HTTPCLIENT-1717] Make fluent API .Content.Content(byte[], ContentType) public.

Modified:
    httpcomponents/httpclient/branches/4.5.x/RELEASE_NOTES.txt
    httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Content.java

Modified: httpcomponents/httpclient/branches/4.5.x/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.5.x/RELEASE_NOTES.txt?rev=1728787&r1=1728786&r2=1728787&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.5.x/RELEASE_NOTES.txt (original)
+++ httpcomponents/httpclient/branches/4.5.x/RELEASE_NOTES.txt Sat Feb  6 03:09:01 2016
@@ -14,6 +14,8 @@ Changelog:
 * [HTTPCLIENT-1715] NTLMEngineImpl.Type1Message not thread safe but declared as a constant.
   Contributed by Olivier Lafontaine <olafontaine at gmail.com>, Gary Gregory <ggregory at apache.org>
 
+* [HTTPCLIENT-1717] Make fluent API .Content.Content(byte[], ContentType) public.
+  Contributed by Cash Costello <cash.costello at gmail.com>
 
 Release 4.5.1
 -------------------

Modified: httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Content.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Content.java?rev=1728787&r1=1728786&r2=1728787&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Content.java (original)
+++ httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Content.java Sat Feb  6 03:09:01 2016
@@ -44,7 +44,7 @@ public class Content {
     private final byte[] raw;
     private final ContentType type;
 
-    Content(final byte[] raw, final ContentType type) {
+    public Content(final byte[] raw, final ContentType type) {
         super();
         this.raw = raw;
         this.type = type;