lundi 3 août 2015

Java Code optimization : if else to resolve PMD complexity 24 to 0

I have string of array with size already defined and i have to iterate though this array and fill it with fields value of someObject I have . If i do this with if elseif elseif or switch case i get high complexity .. please kindly suggest proper way to do this

enter image description here

Aucun commentaire:

Enregistrer un commentaire