You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/12/16 22:16:08 UTC
[jira] [Commented] (JCLOUDS-410) Convert InputSupplier
methods to ByteSource
[ https://issues.apache.org/jira/browse/JCLOUDS-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849730#comment-13849730 ]
ASF subversion and git services commented on JCLOUDS-410:
---------------------------------------------------------
Commit e48d4985ea01d7dc92b75a6fc8b4ce2d795e663c in branch refs/heads/master from [~gaul]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=e48d498 ]
JCLOUDS-410. Add support for ByteSource Payloads
Also deprecate byte[], File, InputSupplier<InputStream>, and String
Payloads. Callers should instead provide a ByteSource via
ByteSource.wrap(byte[]) and Files.asByteSource(File)
> 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: Andrew Gaul
> Fix For: 1.8.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.1.4#6159)