/src/main/java/net/finmath/montecarlo/interestrate/products/indices/CappedFlooredIndex.java
if( underlyingNamesCap != null) {
if ( underlyingNamesFloor != null ) {
underlyingNames.addAll(underlyingNamesCap); } else { underlyingNames = underlyingNamesCap; } } final Set<String> underlyingNamesFloor = floor != null ? floor.queryUnderlyings() : null; <extra_id_0> if(underlyingNames != null) { underlyingNames.addAll(underlyingNamesFloor); } else { underlyingNames = underlyingNamesFloor; } }