From c178314554b8c9cc3f0ffe3b46b7c2050d129e47 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Mon, 22 Aug 2011 11:51:56 +0000 Subject: [PATCH] better log message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160219 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/hwpf/converter/AbstractWordConverter.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java index d57bb9299d..11f13b34fb 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java @@ -324,7 +324,7 @@ public abstract class AbstractWordConverter if ( structure.structure instanceof Bookmark ) { - // other bookmarks with same bundaries + // other bookmarks with same boundaries List bookmarks = new LinkedList(); for ( Bookmark bookmark : ( (HWPFDocument) wordDocument ) .getBookmarks() @@ -379,8 +379,10 @@ public abstract class AbstractWordConverter { if ( previous > range.getEndOffset() ) { - logger.log( POILogger.WARN, "Latest structure in " + range - + " ended after range (" + previous + ")" ); + logger.log( POILogger.WARN, "Latest structure in ", range, + " ended at #" + previous, " after range boundaries [", + range.getStartOffset() + "; " + range.getEndOffset(), + ")" ); return true; } -- 2.39.5