1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 01:06:01 +02:00

Fixed tautologic comparison in ASTFileLocation.equals()

Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
This commit is contained in:
Thomas Corbat 2014-07-17 12:55:12 +02:00
parent f68e29865e
commit 0f355b1929

View file

@ -798,7 +798,7 @@ class ASTFileLocation implements IASTFileLocation {
return false;
if (fLength != other.fLength)
return false;
return Objects.equals(fLocationCtx, fLocationCtx);
return Objects.equals(fLocationCtx, other.fLocationCtx);
}
}