int[] supported = getMidiFileTypes(); for (int element : supported) { if (fileType == element) { return true; } } return false;
int[] supported = getMidiFileTypes(sequence); for (int element : supported) { if (fileType == element) { return true; } } return false;