[#7732] XJC generated classes should compare Pattern.pattern() in generated equals() and hashCode() methods

This commit is contained in:
lukaseder 2018-08-08 13:03:12 +02:00
parent 550b6009e6
commit 4a85b87484
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ public class MappedSchema
return false;
}
} else {
if (!inputExpression.equals(other.inputExpression)) {
if (!inputExpression.pattern().equals(other.inputExpression.pattern())) {
return false;
}
}

View File

@ -183,7 +183,7 @@ public class MappedTable
return false;
}
} else {
if (!inputExpression.equals(other.inputExpression)) {
if (!inputExpression.pattern().equals(other.inputExpression.pattern())) {
return false;
}
}