ArdenL-Liu commented on code in PR #374:
URL: https://github.com/apache/commons-io/pull/374#discussion_r956209112
##########
src/main/java/org/apache/commons/io/IOUtils.java:
##########
@@ -341,6 +341,7 @@ public static byte[] byteArray() {
/**
* Returns a new byte array of the given size.
+ * Throws java.lang.NegativeArraySizeException if the size is negative.
Review Comment:
Hi garydgregory,
I fixed it with @throws, you can review it again.
--
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]