@Override
public boolean apply(RuleDebt input) {
return rule.getRepositoryKey().equals(input.ruleKey().repository()) && rule.getRuleKey().equals(input.ruleKey().rule());
}
}, null);
<BUG>}
private static CharacteristicDto characteristicByKey(final String key, List<CharacteristicDto> characteristicDtos, boolean canByNull) {
CharacteristicDto dto = Iterables.find(characteristicDtos, new Predicate<CharacteristicDto>() {
</BUG>
@Override

@Override
public boolean apply(RuleDebt input) {
return rule.getRepositoryKey().equals(input.ruleKey().repository()) && rule.getRuleKey().equals(input.ruleKey().rule());
}
}, null);
}
@CheckForNull
private static CharacteristicDto characteristicByKey(final String key, List<CharacteristicDto> characteristicDtos) {
return Iterables.find(characteristicDtos, new Predicate<CharacteristicDto>() {
@Override
