mirror of https://github.com/apache/jclouds.git
Remove erroneous deprecation of ByteSource method
This commit is contained in:
parent
bfff3c421f
commit
c444b5bf72
|
@ -77,7 +77,6 @@ public class HttpMessage extends PayloadEnclosingImpl {
|
||||||
/**
|
/**
|
||||||
* @see HttpMessage#getPayload()
|
* @see HttpMessage#getPayload()
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public T payload(ByteSource payload) {
|
public T payload(ByteSource payload) {
|
||||||
this.payload = Payloads.newByteSourcePayload(checkNotNull(payload, "payload"));
|
this.payload = Payloads.newByteSourcePayload(checkNotNull(payload, "payload"));
|
||||||
return self();
|
return self();
|
||||||
|
|
Loading…
Reference in New Issue