zstan commented on code in PR #12982:
URL: https://github.com/apache/ignite/pull/12982#discussion_r3199021117


##########
modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java:
##########
@@ -56,13 +55,16 @@ int majorVersion(String javaHome) throws IOException, 
InterruptedException {
     /**
      * Reads whole stream content and returns it as a string. UTF-8 is used to 
convert from bytes to string.
      *
-     * @param inputStream   Stream to read.
+     * @param inputStream Stream to read.
      * @return Stream content as a string.
      * @throws IOException If something goes wrong.
      */
     private String readStream(InputStream inputStream) throws IOException {
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
-        IOUtils.copy(inputStream, baos);
+        byte[] buf = new byte[4096];

Review Comment:
   if you decide to remove import org.apache.commons.io.* dependency it need to 
be done through whole module, i.e. such method need to e moved into some 
utility class, othervize you need to revert such a change



-- 
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]

Reply via email to