Apache POI use Cell.setCellType(CellType)
MSALCell.setCellType() can be configured with either an integer or a the CellType enumeration. It is clearer and less error-prone to use the CellType enumeration, so this recipe converts all setCellType() calls to use it.
org. openrewrite. apache. poi. ReplaceSetCellTypemod run . --recipe= org. openrewrite. apache. poi. ReplaceSetCellTypeInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.