|
|
@ -116,10 +116,9 @@ public class NoUnboundElementsBindHandler extends AbstractBindHandler {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private boolean isOverriddenCollectionElement(ConfigurationPropertyName candidate) {
|
|
|
|
private boolean isOverriddenCollectionElement(ConfigurationPropertyName candidate) {
|
|
|
|
int length = candidate.getNumberOfElements();
|
|
|
|
int lastIndex = candidate.getNumberOfElements() - 1;
|
|
|
|
if (candidate.isNumericIndex(length - 1)) {
|
|
|
|
if (candidate.isNumericIndex(lastIndex)) {
|
|
|
|
ConfigurationPropertyName propertyName = candidate
|
|
|
|
ConfigurationPropertyName propertyName = candidate.chop(lastIndex);
|
|
|
|
.chop(candidate.getNumberOfElements() - 1);
|
|
|
|
|
|
|
|
return this.boundNames.contains(propertyName);
|
|
|
|
return this.boundNames.contains(propertyName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|