[
https://issues.apache.org/jira/browse/JCLOUDS-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188683#comment-14188683
]
Adrian Cole commented on JCLOUDS-410:
-------------------------------------
reverted the parts that removed or deprecated support for String, byte[], or
File payloads.
There seem to have been other changes which were unnecessary. For example
handling deprecation of InputSupplier<InputStream> could have been to use
Supplier<InputStream> vs make everything depend on the abstract type
ByteSource. Supporting ByteSource didn't require so much thrash. I'm pretty
sure the things reverted so far have curbed the impact of this jira, but there
may be other things we need to address relating to this.
> Convert InputSupplier<InputStream> methods to ByteSource
> --------------------------------------------------------
>
> Key: JCLOUDS-410
> URL: https://issues.apache.org/jira/browse/JCLOUDS-410
> Project: jclouds
> Issue Type: Improvement
> Components: jclouds-blobstore, jclouds-core
> Affects Versions: 1.7.0
> Reporter: Andrew Gaul
> Assignee: Adrian Cole
> Fix For: 2.0.0
>
>
> ByteSource has convenience methods and avoids generics notational overhead.
> Guava is moving towards this:
>
> https://groups.google.com/forum/#!msg/guava-discuss/bChfnnXb9QA/xlmy2UzsmpsJ
> Note that ByteSource implements InputSupplier<InputStream> so we should
> retain source compatibility.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)