List<String> () { List<FirefoxProfile> profiles = FirefoxUtil.computeProfiles(getProfilesIniFile()); if (profiles.size() >= 2) { FirefoxProfile profile = FirefoxUtil.findProfileByNameOrDefault(myProfile, profiles); if (profile != null && !profile.isDefault()) { return Arrays.asList("-P", profile.getName()); } } return Collections.emptyList(); }