public SVNMergeCallback createMergeCallback(SVNMergeDriver mergeDriver, SVNAdminArea adminArea, SVNURL url,
SVNDiffOptions mergeOptions, Map conflictedPaths, boolean force, boolean dryRun) {
int maxVersion = getMaxFormatVersion();
if (maxVersion < SVNAdminAreaFactory.WC_FORMAT_16) {
return new SVNMergeCallback15(adminArea, url, force, dryRun,
mergeOptions, conflictedPaths, mergeDriver);
}
return new SVNMergeCallback(adminArea, url, force, dryRun, mergeOptions, conflictedPaths, mergeDriver);
}