fix comparator

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144366 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-08 15:51:46 +00:00
parent 4db127a2bd
commit f6a891dbc8
1 changed files with 1 additions and 1 deletions

View 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 ) );
}