/src/main/java/net/finmath/montecarlo/interestrate/products/SwapLeg.java
final Period period = new Period( referenceDate, fixingDate, paymentDate, fixingDate, paymentDate, couponFlow, coupon, periodLength, notional, isNotionalExchanged, false, false) ;
final Period period = new Period ( referenceDate, fixingDate, paymentDate, fixingDate, paymentDate, notional, coupon, periodLength, couponFlow, isNotionalExchanged, false, false ) ;
coupon = index; } } else { coupon = new FixedCoupon(spread); } <extra_id_0> periods.add(period); if(isNotionalAccruing) { notional = new AccruingNotional(notional, period); } } components = new ProductCollection(periods);