If you set the type here to ArrayList, spring will convert it automatically and you get rid of the other method that splits on the comma