ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Seven Low-Cost Ways to Improve Legacy Code
Subject:   final checks
Date:   2004-05-02 06:49:11
From:   Steve Peters
Response to: final checks

Neither does java have a check to make sure that you use Checkstyle on your code nor doesjava enforce this on all users of your classes. Adding finals to your code ensures that your code works no matter who how it is built.