Skip to content

Instantly share code, notes, and snippets.

Created January 29, 2010 16:22
Show Gist options
  • Save anonymous/289860 to your computer and use it in GitHub Desktop.
Save anonymous/289860 to your computer and use it in GitHub Desktop.
public static ServiceRepository build(
Collection<FinderCrudService> configuration) {
ServiceRepository serviceRepository = new SimpleServiceRepository();
for (FinderCrudService finderCrudService : configuration) {
serviceRepository.add(finderCrudService);
}
return serviceRepository;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment