1

Is there a CheckStyle rule file that checks against the Java Code Conventions from September 12, 1997?

reevesy
  • 3,452
  • 1
  • 26
  • 23
deamon
  • 89,107
  • 111
  • 320
  • 448
  • 3
    Isn't the default Sun style offered by Checkstyle according to the conventions you referenced? – DaveFar Sep 26 '11 at 08:25
  • AFAIK, it hasn't changed significantly since then. Most style checkers support this by default. If you use a pretty formatter (in most IDEs) it fixes many of these issues for you automagically. – Peter Lawrey Sep 26 '11 at 09:06

2 Answers2

2

According to the checkstyle homepage, it contains an example configuration file supporting the Sun Code Conventions. It does not say how supporting is defined, but it links to exactly the same document as you in your question.

Anthony Pegram
  • 123,721
  • 27
  • 225
  • 246
michael667
  • 3,241
  • 24
  • 32
1

Just download checkstyle from sourceforge.net and find sun_checks.xml inside

j0k
  • 22,600
  • 28
  • 79
  • 90
Denis
  • 11
  • 1