Missing Override annotation

59 Views Asked by At

Working through some code alerts and came across this note on CodeQL:

Missing Override annotation.

along with the following description:

This method overrides abstractEntity.canEqual; it is advisable to add an Override annotation.

I ensured that the respective methods mentioned contained a @Override annotation, and when adding another annotation, the Intellij CE 2023 linter requested it to be removed. In addition, I have tried the following snippet within the effected file and other adjacent annotations:

@Getter(onMethod_ = {@Override}) 

I would just like to bypass the message on GitHub Actions as the methods are working as intended.

0

There are 0 best solutions below