Remove SslBundles parameter from KafkaProperties build methods

Proprietary

In Spring Boot 4.0, the SslBundles parameter was removed from KafkaProperties.buildProducerProperties, buildConsumerProperties, buildAdminProperties, and buildStreamsProperties. This recipe removes the argument from method calls.

io.moderne.java.spring.boot4.RemoveKafkaPropertiesSslBundlesParameter
mod run . --recipe=io.moderne.java.spring.boot4.RemoveKafkaPropertiesSslBundlesParameter

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Delete method argument 0 in methods org.springframework.boot.autoconfigure.kafka.KafkaProperties buildProducerProperties(org.springframework.boot.ssl.SslBundles)
  2. Delete method argument 0 in methods org.springframework.boot.autoconfigure.kafka.KafkaProperties buildConsumerProperties(org.springframework.boot.ssl.SslBundles)
  3. Delete method argument 0 in methods org.springframework.boot.autoconfigure.kafka.KafkaProperties buildAdminProperties(org.springframework.boot.ssl.SslBundles)
  4. Delete method argument 0 in methods org.springframework.boot.autoconfigure.kafka.KafkaProperties buildStreamsProperties(org.springframework.boot.ssl.SslBundles)
  5. Delete method argument 0 in methods org.springframework.boot.kafka.autoconfigure.KafkaProperties buildProducerProperties(org.springframework.boot.ssl.SslBundles)
  6. Delete method argument 0 in methods org.springframework.boot.kafka.autoconfigure.KafkaProperties buildConsumerProperties(org.springframework.boot.ssl.SslBundles)
  7. Delete method argument 0 in methods org.springframework.boot.kafka.autoconfigure.KafkaProperties buildAdminProperties(org.springframework.boot.ssl.SslBundles)
  8. Delete method argument 0 in methods org.springframework.boot.kafka.autoconfigure.KafkaProperties buildStreamsProperties(org.springframework.boot.ssl.SslBundles)