mirror of https://github.com/apache/poi.git
fix comparator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144366 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4db127a2bd
commit
f6a891dbc8
|
@ -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 ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue