final String value = toStringOrNull(attributes.get(attribute)); if (pattern == null || value.matches(pattern)) final String newValue = newValue(value, toStringOrNull(replacementValue)); if (newValue != null) final String newValue = newValue(null, toStringOrNull(replacementValue)); if (newValue != null)
final String value = toStringOrNull(attributes.get(attribute)); if (pattern == null || value.matches(pattern)) final String newValue = newValue(value, toStringOrNull(replacementValue)); if (newValue != null) final String newValue = newValue(null, toStringOrNull(replacementValue)); if (newValue != null)
final String value = toStringOrNull(attributes.get(attribute)); final Serializable newValue = newValue(value, toStringOrNull(replacementValue)); if (newValue == VALUELESS_ATTRIBUTE_REMOVE)
final String value = toStringOrNull(attributes.get(attribute)); final Serializable newValue = newValue(value, toStringOrNull(replacementValue)); if (newValue == VALUELESS_ATTRIBUTE_REMOVE)