orpiske commented on code in PR #9339: URL: https://github.com/apache/camel/pull/9339#discussion_r1104784929
########## components/camel-kafka/src/main/java/org/apache/camel/processor/resume/kafka/KafkaResumeStrategyConfiguration.java: ########## @@ -37,29 +38,23 @@ public Properties getProducerProperties() { } void setProducerProperties(Properties producerProperties) { - assert producerProperties != null; - - this.producerProperties = producerProperties; + this.producerProperties = ObjectHelper.notNull(producerProperties, "producerProperties"); } public Properties getConsumerProperties() { return consumerProperties; } void setConsumerProperties(Properties consumerProperties) { - assert consumerProperties != null; - - this.consumerProperties = consumerProperties; Review Comment: Same as the other 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org