if (attribute instanceof ConfigurationProperty) { final ConfigurationProperty<?> propAttribute = ((ConfigurationProperty<?>) attribute); final String resolvedValue = String.valueOf(propAttribute.resolvePropertyValue(context, model)); final String currentValue = configuration.getPropertyValueString(propAttribute.getPropertyName()); result = (resolvedValue == null ? currentValue == null : resolvedValue.equals(currentValue));
if (attribute instanceof ConfigurationProperty) { final ConfigurationProperty<?> propAttribute = ((ConfigurationProperty<?>) attribute); final String resolvedValue = String.valueOf(propAttribute.resolvePropertyValue(context, model)); final String currentValue = configuration.getPropertyValueString(propAttribute.getPropertyName()); result = (resolvedValue == null ? currentValue == null : resolvedValue.equals(currentValue));