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
6845dab8b3
commit
fce856c75c
@ -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
Block a user