[
https://issues.apache.org/jira/browse/IO-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763340#comment-17763340
]
Gary D. Gregory commented on IO-809:
------------------------------------
Hello [~jeppler]
Thank you for your report and your interest in Apache Commons IO.
Your example is ambiguous: Are you trying to show that you are calling
{{setMessageDigest(MessageDigest)}} or {{setMessageDigest(String)}}?
I think it would be easier to get your point across by providing a PR with a
failing unit test, at least that would show something that compiles ;-) and
runs.
> MessageDigestCalculatingInputStream Builder Not Working
> -------------------------------------------------------
>
> Key: IO-809
> URL: https://issues.apache.org/jira/browse/IO-809
> Project: Commons IO
> Issue Type: Bug
> Reporter: Jeremias Eppler
> Priority: Major
>
> 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)