mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Fixed tautologic comparison in ASTFileLocation.equals()
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
This commit is contained in:
parent
f68e29865e
commit
0f355b1929
1 changed files with 1 additions and 1 deletions
|
@ -798,7 +798,7 @@ class ASTFileLocation implements IASTFileLocation {
|
||||||
return false;
|
return false;
|
||||||
if (fLength != other.fLength)
|
if (fLength != other.fLength)
|
||||||
return false;
|
return false;
|
||||||
return Objects.equals(fLocationCtx, fLocationCtx);
|
return Objects.equals(fLocationCtx, other.fLocationCtx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue