Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: mentioned how to check for violations of the coding style

Regrettably, some code in the current system does not follow any consistent coding style. This is an unfortunate residuum of the system's evolution.  To alleviate this problem, we present this style guide for new Java™ code; it's just a small tweak of Sun®'s style guide.  We also use checkstyle to support a gradually expanding subset of these conventions.  The current set of enforced checkstyle rules are defined by $RVM_ROOT/build/checkstyle/rvm-checks.xml and are verified as part of the pre-commit test run. To check for violations of the coding style without running the tests, use buildit or run "ant checkstyle" from the command line.

File Headers

Every file needs to have the license header.