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
  •  | 
  •  

質問

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?

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top