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

StackOverflow https://stackoverflow.com/questions/21482010

  •  05-10-2022
  •  | 
  •  

Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top