You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/10/02 14:01:00 UTC
[jira] [Updated] (IO-809) MessageDigestCalculatingInputStream Builder is not 100% fluent
[ https://issues.apache.org/jira/browse/IO-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated IO-809:
-------------------------------
Summary: MessageDigestCalculatingInputStream Builder is not 100% fluent (was: MessageDigestCalculatingInputStream Builder Not Working)
> MessageDigestCalculatingInputStream Builder is not 100% fluent
> --------------------------------------------------------------
>
> Key: IO-809
> URL: https://issues.apache.org/jira/browse/IO-809
> Project: Commons IO
> Issue Type: Bug
> Affects Versions: 2.12.0, 2.13.0
> Reporter: Jeremias Eppler
> Priority: Major
> Fix For: 3.x
>
> Attachments: commons-io-issue.png
>
>
> I am currently trying to use the MessageDigestCalculatingInputStream Builder. However, the setters of the builder do not return the builder.
> Meaning, this code does not work:
>
> ~~~java
> MessageDigestCalculatingInputStream messageDigestInputStream = MessageDigestCalculatingInputStream.builder()
> .setInputStream(fileInputstream)
> .setMessageDigest(digest)
> .get();
> ~~~
--
This message was sent by Atlassian Jira
(v8.20.10#820010)