From f6a891dbc8f04182ff5d60c6da0522a673882cf5 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Fri, 8 Jul 2011 15:51:46 +0000 Subject: [PATCH] fix comparator 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java b/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java index 4a10944664..aaa9ceedbd 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/model/CHPBinTable.java @@ -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 ) ); }