Wouldn't it better to have a named class (instead of a anonymous one) for the Default content merger? The we could reuse the instances of  DefaultContentMerger. We would only need one DefaultContentMerger per repository.