diff --git a/calc/com/tenwa/reckon/executor/SegmentedFinancingExecutor.java b/calc/com/tenwa/reckon/executor/SegmentedFinancingExecutor.java index 7a7813894..3591c6730 100644 --- a/calc/com/tenwa/reckon/executor/SegmentedFinancingExecutor.java +++ b/calc/com/tenwa/reckon/executor/SegmentedFinancingExecutor.java @@ -145,7 +145,7 @@ public class SegmentedFinancingExecutor extends FundRentPlanExecutor { boLSRPT.setAttributeValue( "INTEREST_BUSINESS", interest.toString() ); boLSRPT.setAttributeValue( "SUBSECTION_NUMBER", subsectionNumber ); bomLSRPT.saveObject( boLSRPT ); - if ( interests.size() - 1 > i ) { + if ( interests.size() > i ) { interests.set( i, new BigDecimal( interests.get( i ) ).add( interest ).toString() ); corpuss.set( i, new BigDecimal( corpuss.get( i ) ).add( corpus ).toString() ); overCorpuss.set( i, new BigDecimal( overCorpuss.get( i ) ).add( cleanLeaseMoney ).toString() );