From b1346213fb60abbf4f1250f3c6f7eafc8dad88e8 Mon Sep 17 00:00:00 2001 From: Richard Millet Date: Wed, 11 Aug 2010 18:23:29 +0000 Subject: [PATCH] CSPACE-2627: Incoming payload stream being inadvertently nulled by debugging code. --- .../collectionspace/services/common/document/DocumentUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3