[ 
https://issues.apache.org/jira/browse/MSITE-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869209#comment-17869209
 ] 

ASF GitHub Bot commented on MSITE-945:
--------------------------------------

FredrikAnderson commented on code in PR #202:
URL: https://github.com/apache/maven-site-plugin/pull/202#discussion_r1694344292


##########
src/test/java/org/apache/maven/plugins/site/deploy/SimpleDavServerHandler.java:
##########
@@ -111,4 +112,17 @@ public int getPort() {
     public void stop() throws Exception {
         server.stop();
     }
+
+    private void writeByteArrayToFile(File targetFile, ServletInputStream 
inputStream) throws IOException {
+        int nRead;
+        byte[] data = new byte[512];

Review Comment:
   Change to 2k.





> Remove dependency on Commons IO
> -------------------------------
>
>                 Key: MSITE-945
>                 URL: https://issues.apache.org/jira/browse/MSITE-945
>             Project: Maven Site Plugin
>          Issue Type: Dependency upgrade
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>              Labels: up-for-grabs
>
> All uses look easily replaceable by standard JDK methods these days



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to