]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-2627: Incoming payload stream being inadvertently nulled by debugging code.
authorRichard Millet <richard.millet@berkeley.edu>
Wed, 11 Aug 2010 18:23:29 +0000 (18:23 +0000)
committerRichard Millet <richard.millet@berkeley.edu>
Wed, 11 Aug 2010 18:23:29 +0000 (18:23 +0000)
services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java

index 989613388fcbb67f5a55f295ebcce2faa8d0b959..f7b69a077e0634b1cf5a76b2f770501a034ae65d 100644 (file)
@@ -137,7 +137,7 @@ public class DocumentUtils {
         * @return the byte array input stream
         */
        private static ByteArrayInputStream logByteArrayInputStream(ByteArrayInputStream inputStream) {
-               ByteArrayInputStream result = null;
+               ByteArrayInputStream result = inputStream;
 
                if (logger.isTraceEnabled() == true) {
                        ByteArrayInputStream bais = (ByteArrayInputStream)inputStream;