Re: Question about CodeQL in Java

2023-01-10 Thread Christophe Le Saëc
It seems that CodeQL targets only updated classes; so the alert about "*overrides but not hashCode*" also applies to other classes like FixedSchema if it is updated. The tools doesn't see that here, computeHash is replacing hashCode (called by Schema.hashcode method). Is there any clue to solve it

Question about CodeQL in Java

2023-01-08 Thread Christophe Le Saëc
Hello, Code QL complains here about one of my PR : *Class RecordSchema overrides but not hashCode*. But, this is still the case on master (equals is redefine for RecordSchema class, and not hashCode, while this is computeHas