gstackoverflow
gstackoverflow

Reputation: 37034

How to disable message "Parameter x is not assigned and could be declared final" in Eclipse?

I cannot find place in Eclipse preferences where I can disable this message:

Parameter pjp is not assigned and could be declared final

Where are this place?

Upvotes: 0

Views: 1540

Answers (1)

Marko Topolnik
Marko Topolnik

Reputation: 200148

Your warning message is never produced by Eclipse's built-in checks. It is produced by an Eclipse plug-in called PMD, which supports a much wider range of code checks.

The specific PMD rule name is MethodArgumentCouldBeFinal.

Upvotes: 1

Related Questions