Change the type of skipCount parameter in SkipPolicy from int to long

MSAL

The skipCount parameter in org.springframework.batch.core.step.skip.SkipPolicy#shouldSkip has been changed from int to long, this recipe updates the parameter type in the implementing classes.

org.openrewrite.java.spring.batch.UpgradeSkipPolicyParameterType
mod run . --recipe=org.openrewrite.java.spring.batch.UpgradeSkipPolicyParameterType

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. Change parameter type for a method declaration long in methods org.springframework.batch.core.step.skip.SkipPolicy shouldSkip(java.lang.Throwable, int)