Conversion of array of strings to uppercase moved to separate method