{
Long id = Long.valueOf(scoredDocument.getId());
Activity activity = repository.get(id);
if (activity != null)
{
activities.put(new SameActivity(activity), activityConverter.toModel(activity));
}
}
return new ArrayList<name.pehl.karaka.shared.model.Activity>(activities.values());
}