cpreisler commented on PR #437:
URL: https://github.com/apache/commons-compress/pull/437#issuecomment-1807150688
No specific reason. Your change will work also.
On Sun, Nov 12, 2023 at 8:52 AM Gary Gregory ***@***.***>
wrote:
> Why is this:
>
> final StringBuilder sb = new StringBuilder();
> sb.append("abcdefghijklmnop");
> final byte[] random = sb.toString().getBytes();
>
> Not just:
>
> final byte[] random = "abcdefghijklmnop".getBytes();
>
> ?
> I updated git master.
>
> —
> Reply to this email directly, view it on GitHub
>
<https://github.com/apache/commons-compress/pull/437#issuecomment-1807149980>,
> or unsubscribe
>
<https://github.com/notifications/unsubscribe-auth/ADVDHDW5BQRUE3L4KRUVVL3YEDPBRAVCNFSM6AAAAAA7HJLUZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGE2DSOJYGA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]