]> source.dussan.org Git - poi.git/commitdiff
fix comparator
authorSergey Vladimirov <sergey@apache.org>
Fri, 8 Jul 2011 15:51:46 +0000 (15:51 +0000)
committerSergey Vladimirov <sergey@apache.org>
Fri, 8 Jul 2011 15:51:46 +0000 (15:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144366 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java

index 4a10944664bd10b4838dd441de446e1d0a56e44e..aaa9ceedbd1fab9b144c4bef9255a529ac682fa3 100644 (file)
@@ -44,7 +44,7 @@ public class CHPBinTable
         public int compare( CHPX o1, CHPX o2 )
         {
             int thisVal = o1.getStart();
-            int anotherVal = o2.getEnd();
+            int anotherVal = o2.getStart();
             return ( thisVal < anotherVal ? -1 : ( thisVal == anotherVal ? 0
                     : 1 ) );
         }