From: Richard Millet Date: Wed, 11 Aug 2010 18:23:29 +0000 (+0000) Subject: CSPACE-2627: Incoming payload stream being inadvertently nulled by debugging code. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=b1346213fb60abbf4f1250f3c6f7eafc8dad88e8;p=tmp%2Fjakarta-migration.git CSPACE-2627: Incoming payload stream being inadvertently nulled by debugging code. --- diff --git a/services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java b/services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java index 989613388..f7b69a077 100644 --- a/services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java +++ b/services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java @@ -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;