Springs are subject to pitting; pitting corrosion always occurs on the surface of the spring. Shot blasting / shot peening is a technique where the surface is shot with small bullets.
This causes compressive stresses on the surface of the material, due to plastic deformations. These compressive stresses basically seal the pitting corrosion by thrusts.