if (characteristicKey != null) {
Characteristic characteristic = model.characteristicByKey(characteristicKey);
if (characteristic != null) {
ruleDebts.add(ruleKey, debt);
characteristicDebts.add(characteristic, debt);
propagateTechnicalDebtInParents(characteristic.parent(), debt, characteristicDebts);
return debt;
}
}
}
}