From: Patrick Schmitz Date: Mon, 23 Aug 2010 21:02:36 +0000 (+0000) Subject: NOJIRA - remove some stale comments. No functional changes. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=041807fc7a390082b8a0751f66aaef8c77bf47df;p=tmp%2Fjakarta-migration.git NOJIRA - remove some stale comments. No functional changes. --- diff --git a/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandlerImpl.java b/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandlerImpl.java index 6fa7c68bd..42837f1f4 100644 --- a/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandlerImpl.java +++ b/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandlerImpl.java @@ -225,17 +225,11 @@ public abstract class RemoteDocumentModelHandlerImpl throws Exception { InputStream payload = part.getBody(InputStream.class, null); -// TODO for sub-docs - after we parse the doc, we need to look for elements that are configured as -// subitem lists, for this part (schema), pull them out, and set them aside for later processing. - //check if this is an xml part if (part.getMediaType().equals(MediaType.APPLICATION_XML_TYPE)) { if (payload != null) { Document document = DocumentUtils.parseDocument(payload, partMeta, false /*don't validate*/); - //TODO: callback to handler if registered to validate the - //document -// Map objectProps = DocumentUtils.parseProperties(document.getFirstChild()); Map objectProps = DocumentUtils.parseProperties(partMeta, document, ctx); if (action == Action.UPDATE) { this.filterReadOnlyPropertiesForPart(objectProps, partMeta);