Fixed TextMining (Word to Text) transformer that was not closing an input stream after use

Added checks to the Abstract transformer to log an error non-closures of streams.  This won't halt execution.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2384 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-02-15 13:51:25 +00:00
parent b4abc1b8a1
commit 976fa1a09c
4 changed files with 25 additions and 7 deletions

View File

@@ -88,7 +88,7 @@ public abstract class AbstractContentAccessor implements ContentAccessor
{
StringBuilder sb = new StringBuilder(1024);
StackTraceUtil.buildStackTrace(
"Content IO Channel was opened but not closed",
"Content IO Channel was opened but not closed: \n" + this,
traceLoggerChannelAssignTrace,
sb,
-1);