I have this method which takes a varargs of Strings, creates a List out of it, and then tries to remove the first element of the list.
public void importFrom(Str
You could just create a new ArrayList(), then loop over all files for (String file : files) fileList.add(file);. Or you could use the List you already created and add it to the new ArrayList using fileList.addAll(files);
new ArrayList()
for (String file : files) fileList.add(file);
fileList.addAll(files);