]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
NOJIRA - remove some stale comments. No functional changes.
authorPatrick Schmitz <pschmitz@berkeley.edu>
Mon, 23 Aug 2010 21:02:36 +0000 (21:02 +0000)
committerPatrick Schmitz <pschmitz@berkeley.edu>
Mon, 23 Aug 2010 21:02:36 +0000 (21:02 +0000)
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandlerImpl.java

index 6fa7c68bd11fa87094c48b14568326c4202b5459..42837f1f4b431ce541b945e9992c6fb417cb1f33 100644 (file)
@@ -225,17 +225,11 @@ public abstract class RemoteDocumentModelHandlerImpl<T, TL>
             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<String, Object> objectProps = DocumentUtils.parseProperties(document.getFirstChild());
                 Map<String, Object> objectProps = DocumentUtils.parseProperties(partMeta, document, ctx);
                 if (action == Action.UPDATE) {
                     this.filterReadOnlyPropertiesForPart(objectProps, partMeta);