Remove toString() calls on arrays
MSALThe result from toString() calls on arrays is largely useless. The output does not actually reflect the contents of the array. Arrays.toString(array) should be used instead as it gives the contents of the array. Since arrays do not override toString() from Object, calling it produces only the type name and memory address, which is rarely what was intended.
org. openrewrite. staticanalysis. RemoveToStringCallsFromArrayInstancesmod run . --recipe= org. openrewrite. staticanalysis. RemoveToStringCallsFromArrayInstancesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.