Anodizing a spring