Skip to content

Commit

Permalink
Remove wrong comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Feb 14, 2018
1 parent e4c2f07 commit 7f98211
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -1096,7 +1096,7 @@ void diffItems(PrismContainerValue<C> thisValue, PrismContainerValue<C> other,
if (thisValue.getItems() != null) {
for (Item<?,?> thisItem: thisValue.getItems()) {
Item otherItem = other.findItem(thisItem.getElementName());
if (!isLiteral) { // here should be perhaps ignoreMetadata instead
if (!isLiteral) {
ItemDefinition itemDef = thisItem.getDefinition();
if (itemDef == null && other.getDefinition() != null) {
itemDef = other.getDefinition().findItemDefinition(thisItem.getElementName());
Expand All @@ -1118,7 +1118,7 @@ void diffItems(PrismContainerValue<C> thisValue, PrismContainerValue<C> other,
// Already processed in previous loop
continue;
}
if (!isLiteral) { // here should be perhaps ignoreMetadata instead
if (!isLiteral) {
ItemDefinition itemDef = otherItem.getDefinition();
if (itemDef == null && thisValue.getDefinition() != null) {
itemDef = thisValue.getDefinition().findItemDefinition(otherItem.getElementName());
Expand Down

0 comments on commit 7f98211

Please sign in to comment.