Bookmark Topic Watch Topic
  • New Topic

CheckStyle Rule : Making final to the local variables  RSS feed

 
hemant Budhewar BamniBk
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Report post to moderator
Check Style Rule : FinalLocalVariable--

Checks that local variables that never have their values changed are declared final. The check can be configured to also check that unchanged parameters are declared final.

Can anybody suggest me more disadvantages of using this check style rule through out the code of big project?

However I found one major disadvantage by enabling this rule in Eclipse, i.e. it hampers readability of the software and disallowing engineers (team members) to understand new code more quickly and thoroughly.
 
Campbell Ritchie
Marshal
Posts: 56578
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing as duplicate. Rob, Fred, Martijn, maybe you would like to delete the thread as a duplicate?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!