Source:
protected void requesting(final ExtendedDataOutputStream out, final OMMonitor monitor) throws Exception { monitor.begin(1 + 7 + importConfiguration.getRefSetUrls().size()); try { out.writeUTF(importConfiguration.getBranchPath()); out.writeString(userId); out.writeEnum(importConfiguration.getVersion()); out.writeBoolean(importConfiguration.isCreateVersions()); out.writeInt(importConfiguration.getExcludedRefSetIds().size()); for (final String excludedId : importConfiguration.getExcludedRefSetIds()) { out.writeString(excludedId); } out.writeUTF(importConfiguration.getCodeSystemShortName()); final Collection<File> descriptionsFiles = importConfiguration.getDescriptionsFiles(); final Collection<File> languageRefSetFiles = importConfiguration.getLanguageRefSetFiles(); monitor.worked(); for (File descfile : descriptionsFiles) { writeComponent(out, descfile, monitor); } for (File langFile : languageRefSetFiles) { writeComponent(out, langFile, monitor.fork()); } writeComponent(out, importConfiguration.getConceptsFile(), monitor.fork()); writeComponent(out, importConfiguration.getTextDefinitionFile(), monitor.fork()); writeComponent(out, importConfiguration.getRelationshipsFile(), monitor.fork()); writeComponent(out, importConfiguration.getStatedRelationshipsFile(), monitor.fork()); writeComponent(out, importConfiguration.getDescriptionType(), monitor.fork()); out.writeInt(importConfiguration.getRefSetUrls().size()); for (final URL refSetUrl : importConfiguration.getRefSetUrls()) { writeFile(out, importConfiguration, refSetUrl, monitor.fork()); } } finally { monitor.done(); } }

Target:
protected void requesting(final ExtendedDataOutputStream out, final OMMonitor monitor) throws Exception { monitor.begin(1 + importConfiguration.getDescriptionFiles().size() + importConfiguration.getTextDefinitionFiles().size() + 3 + importConfiguration.getRefSetUrls().size()); try { out.writeUTF(importConfiguration.getBranchPath()); out.writeString(userId); out.writeEnum(importConfiguration.getContentSubType()); out.writeBoolean(importConfiguration.isCreateVersions()); out.writeInt(importConfiguration.getExcludedRefSetIds().size()); for (final String excludedId : importConfiguration.getExcludedRefSetIds()) { out.writeString(excludedId); } out.writeUTF(importConfiguration.getCodeSystemShortName()); monitor.worked(); final Collection<File> descriptionsFiles = importConfiguration.getDescriptionFiles(); final Collection<File> textDefinitionFiles = importConfiguration.getTextDefinitionFiles(); out.writeInt(descriptionsFiles.size()); for (File descfile : descriptionsFiles) { writeComponent(out, descfile, monitor.fork()); } out.writeInt(textDefinitionFiles.size()); for (File textFile : textDefinitionFiles) { writeComponent(out, textFile, monitor.fork()); } writeComponent(out, importConfiguration.getConceptFile(), monitor.fork()); writeComponent(out, importConfiguration.getRelationshipFile(), monitor.fork()); writeComponent(out, importConfiguration.getStatedRelationshipFile(), monitor.fork()); out.writeInt(importConfiguration.getRefSetUrls().size()); for (final URL refSetUrl : importConfiguration.getRefSetUrls()) { writeFile(out, importConfiguration, refSetUrl, monitor.fork()); } } finally { monitor.done(); } }