@Override
public void run() {
List<String> names = splitIdentifiers.next();
try {
for (Profile profile : repo.findProfilesByNames(names.toArray(new String[names.size()]))) {
PermissionsUserData data = backend.getUserData(profile.getName());
data.setIdentifier(profile.getId().replaceFirst("(\\w{8})(\\w{4})(\\w{4})(\\w{4})(\\w{12})", "$1-$2-$3-$4-$5"));
data.setOption("name", profile.getName(), null);
}
} catch (Exception e) {
ErrorReport.handleError("While converting batch " + batchNum.get() + " to UUID", e);
backend.setPersistent(true);
return;