>     private static Payload payload(long bytes, String contentType) {
> -      Payload payload = Payloads.newByteArrayPayload(NO_CONTENT);
> +      Payload payload = Payloads.newByteSourcePayload(ByteSource.empty());

Yes, just cleanup. This is a much cleaner way to express an empty `ByteSource`.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/104/files#r12958711

Reply via email to