better log message

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-08-22 11:51:56 +00:00
parent 812f583412
commit 4a9c633058
1 changed files with 5 additions and 3 deletions

View File

@ -324,7 +324,7 @@ public abstract class AbstractWordConverter
if ( structure.structure instanceof Bookmark )
{
// other bookmarks with same bundaries
// other bookmarks with same boundaries
List<Bookmark> bookmarks = new LinkedList<Bookmark>();
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;
}