I have this code:
public static String SelectRandomFromTemplate(String template,int count) { String[] split = template.split(\"|\"); List
Arraylist narraylist=Arrays.asList(); // Returns immutable arraylist To make it mutable solution would be: Arraylist narraylist=new ArrayList(Arrays.asList());