Skip to content

Commit

Permalink
Fixed wrong ifs
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Tkáčik <tonydamage@gmail.com>
  • Loading branch information
tonydamage committed Oct 2, 2023
1 parent e2edbaf commit fc00737
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1200,11 +1200,11 @@ private <T> PropertyModificationOperation<T> convertToReplace(
}
if (!found) {
if (LOGGER.isDebugEnabled()) {
LOGGER.warn("Attempting to remove a value of {} that is not in {}",
valueToDelete, propertyDelta.getElementName());
} else {
LOGGER.warn("Attempting to remove a value of {} that is not in {}: {}",
valueToDelete, propertyDelta.getElementName(), currentValues);
} else {
LOGGER.warn("Attempting to remove a value of {} that is not in {}",
valueToDelete, propertyDelta.getElementName());
}
}
}
Expand Down

0 comments on commit fc00737

Please sign in to comment.