I need to change the following if\'s to a switch-case while checking for a String, to improve the cyclomatic complexity.<
if
switch
case
String
We can apply Switch just on data type compatible int :short,Shor,byte,Byte,int,Integer,char,Character or enum type.