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

Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top