add final qualifier to vars
Merge pull request #2769 from marco-jacob/issue#2736#finalVars

add final qualifier to vars