Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Possible typo in ASTFileLocation

Hi Julien

 

I cannot think of any case that code makes sense. I changed it.

Thanks for mentioning that. :)

 

Regards

Thomas

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of GASTON Julien
Sent: Donnerstag, 17. Juli 2014 12:09
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Possible typo in ASTFileLocation

 

Hi,

 

The equals method of org.eclipse.cdt.internal.core.parser.scanner. ASTFileLocation ends with:

 

return Objects.equals(fLocationCtx, fLocationCtx);

 

Shouldn’t be

 

return Objects.equals(fLocationCtx, other.fLocationCtx);

 

instead ?

 

Regards,

Julien.


Back to the top