Skip to content

Commit

Permalink
Merge pull request izpack#655 from mezmerize/IZPACK-1583
Browse files Browse the repository at this point in the history
IZPACK-1583
  • Loading branch information
mezmerize authored Mar 27, 2018
2 parents 9b9d390 + b83d80f commit f99d232
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,24 @@ public boolean matches(Element originalElement, Element patchElement)
{
if (origAttribute.getQualifiedName().equalsIgnoreCase(patchAttribute.getQualifiedName()))
{
return equalsString(origAttribute.getValue(), patchAttribute.getValue(), ignoreCaseAttributeValue());
if (!equalsString(origAttribute.getValue(), patchAttribute.getValue(), ignoreCaseAttributeValue())) {
return false;
}
}
}
else
{
if (origAttribute.getQualifiedName().equals(patchAttribute.getQualifiedName()))
{
return equalsString(origAttribute.getValue(), patchAttribute.getValue(), ignoreCaseAttributeValue());
if (!equalsString(origAttribute.getValue(), patchAttribute.getValue(), ignoreCaseAttributeValue())) {
return false;
}
}
}
}
}
}
return true;
}
return false;
}
Expand Down

0 comments on commit f99d232

Please sign in to comment.