marketSpreads[7] = flatSpread;
// -------------------------------------------------------------------------------------
// Create a RecoveryRate01 calculator object
final VoDCreditDefaultSwap vod = new VoDCreditDefaultSwap();
// Compute the VoD
//final double valueOnDefault = vod.getValueOnDefaultCreditDefaultSwap(valuationDate, cds, yieldCurve, tenors, marketSpreads, priceType);
// -------------------------------------------------------------------------------------