On 23.5.12 21:22, Julian Reschke wrote:
On 2012-05-23 18:43, Michael Dürig wrote:
Hi,
IntelliJ gives me the warning
"Not annotated method overrides method annotated with @NotNull"
whenever a method is not annotated with @NotNull and the method it
overrides is annotated with @NotNull.
Should we add annotations in all those places? Or should we ignore the
warning?
...
Findbugs inherits the annotation and does apply it.
Ok.
If adding it to the implementation avoids warning noise in IntelliJ,
let's do that.
I just disabled this warning in IntelliJ globally. It seems IntelliJ
also inherits the annotations so there is no point in having the warning
or spaming the code with extra annotations.
Michael
Best regards, Julian