You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2022/08/25 16:55:11 UTC

[GitHub] [commons-io] pjfanning commented on a diff in pull request #374: IOUtils.byteArray(int size) add the verification to assure that the size is legal(size > 0), the illegal(size <=0) should throw IllegalArgumentException.

pjfanning commented on code in PR #374:
URL: https://github.com/apache/commons-io/pull/374#discussion_r955213560


##########
src/main/java/org/apache/commons/io/FileUtils.java:
##########
@@ -3537,9 +3537,7 @@ public static void writeStringToFile(final File file, final String data, final S
 
     /**
      * Instances should NOT be constructed in standard programming.
-     * @deprecated Will be private in 3.0.
      */
-    @Deprecated

Review Comment:
   Should this `@Deprecated` be removed? There was a comment to remove a different `@Deprecated` but this one should be kept.



-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org