tsantakismanos commented on a change in pull request #7192:
URL: https://github.com/apache/camel/pull/7192#discussion_r825353374
##########
File path:
components/camel-zipfile/src/main/java/org/apache/camel/dataformat/zipfile/ZipIterator.java
##########
@@ -48,6 +48,11 @@
public ZipIterator(Exchange exchange, InputStream inputStream) {
this.exchange = exchange;
this.allowEmptyDirectory = false;
+
+ if (inputStream == null) {
+ throw new IllegalStateException("Input stream cannot be null");
+ }
Review comment:
Indeed , changed to the proposed one.
--
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]