reta commented on code in PR #3301:
URL: https://github.com/apache/cxf/pull/3301#discussion_r3559742402
##########
core/src/main/java/org/apache/cxf/helpers/IOUtils.java:
##########
@@ -34,10 +34,14 @@
import java.nio.file.Files;
import java.util.Objects;
+import org.apache.cxf.common.util.SystemPropertyAction;
import org.apache.cxf.io.CopyingOutputStream;
import org.apache.cxf.io.Transferable;
public final class IOUtils {
+ public static final int DEFAULT_BINARY_MAX_SIZE =
Review Comment:
Thanks @coheigea , happy to change, but followed our conventions from
https://github.com/apache/cxf/blob/main/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java#L64
(and other places). Probably to clarify why default is applicable: that would
be a value picked up by default if `maxSize` is not specified by the user. Yes,
the value could be changed, but it will still be semantically the default
unless specified. Thanks!
--
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]