From: Sergey Vladimirov Date: Mon, 22 Aug 2011 11:51:56 +0000 (+0000) Subject: better log message X-Git-Tag: REL_3_8_BETA4~1^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c178314554b8c9cc3f0ffe3b46b7c2050d129e47;p=poi.git better log message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160219 13f79535-47bb-0310-9956-ffa450edef68 --- 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; }