]> source.dussan.org Git - poi.git/commitdiff
better log message
authorSergey Vladimirov <sergey@apache.org>
Mon, 22 Aug 2011 11:51:56 +0000 (11:51 +0000)
committerSergey Vladimirov <sergey@apache.org>
Mon, 22 Aug 2011 11:51:56 +0000 (11:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160219 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java

index d57bb9299db811465aeb2324e6d7e51447704fea..11f13b34fb79c27d5fdcf753c65cbeff59d65ec0 100644 (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;
             }