HHH-15347 Use equals instead of identity check in NavigablePath#relativize
This commit is contained in:
parent
d06eee0a5d
commit
2700b0a8cf
|
@ -242,7 +242,7 @@ public class NavigablePath implements DotIdentifierSequence, Serializable {
|
|||
}
|
||||
|
||||
protected void relativize(NavigablePath base, RelativePathCollector collector) {
|
||||
if ( this == base ) {
|
||||
if ( this.equals( base ) ) {
|
||||
collector.matchedBase = true;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue