You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by se...@apache.org on 2011/07/08 17:51:46 UTC

svn commit: r1144366 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java

Author: sergey
Date: Fri Jul  8 15:51:46 2011
New Revision: 1144366

URL: http://svn.apache.org/viewvc?rev=1144366&view=rev
Log:
fix comparator

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java?rev=1144366&r1=1144365&r2=1144366&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java Fri Jul  8 15:51:46 2011
@@ -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 ) );
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org