My M&P 40c came with a painted spring and the takedown latch was also painted. It all wears off after a few range visits and cleanings. Not sure why they paint moving internal parts, but it doesn't seem to hurt anything.
Yea though I walk through the valley of the shadow of death, I will fear no evil. My rod is a GLOCK and it comforts me