final boolean currentValue; if (configuration.hasProperty(ENABLED.getPropertyName())) { currentValue = Boolean.parseBoolean(configuration.getPropertyValueString(ENABLED.getPropertyName())); } else { currentValue = isDisabledHandler(logContextConfiguration.getLogContext(), configuration.getName()); for (Property property : PROPERTIES.resolveModelAttribute(context, model).asPropertyList()) { final String resolvedValue = property.getValue().asString(); final String currentValue = configuration.getPropertyValueString(property.getName()); if (!(resolvedValue == null ? currentValue == null : resolvedValue.equals(currentValue))) { return false; final PropertyAttributeDefinition propAttribute = ((PropertyAttributeDefinition) attribute); final String resolvedValue = propAttribute.resolvePropertyValue(context, model); final String currentValue = configuration.getPropertyValueString(propAttribute.getPropertyName()); result = (resolvedValue == null ? currentValue == null : resolvedValue.equals(currentValue)); } else {
final boolean currentValue; if (configuration.hasProperty(ENABLED.getPropertyName())) { currentValue = Boolean.parseBoolean(configuration.getPropertyValueString(ENABLED.getPropertyName())); } else { currentValue = isDisabledHandler(logContextConfiguration.getLogContext(), configuration.getName()); 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)); } else {
final boolean currentValue; if (configuration.hasProperty(ENABLED.getPropertyName())) { currentValue = Boolean.parseBoolean(configuration.getPropertyValueString(ENABLED.getPropertyName())); } else { currentValue = isDisabledHandler(logContextConfiguration.getLogContext(), configuration.getName()); 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)); } else {