[#7732] XJC generated classes should compare Pattern.pattern() in generated equals() and hashCode() methods
This commit is contained in:
parent
550b6009e6
commit
4a85b87484
@ -228,7 +228,7 @@ public class MappedSchema
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!inputExpression.equals(other.inputExpression)) {
|
||||
if (!inputExpression.pattern().equals(other.inputExpression.pattern())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -183,7 +183,7 @@ public class MappedTable
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!inputExpression.equals(other.inputExpression)) {
|
||||
if (!inputExpression.pattern().equals(other.inputExpression.pattern())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user