From 2bbeb9e27a05c6aa2f3bf0c29359d3964841fa39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20K=C3=BChne?= Date: Sun, 15 Feb 2004 07:04:25 +0000 Subject: [PATCH] fixed typo improved the rationale explanation in response to invalid bug report. --- docs/config_misc.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/config_misc.html b/docs/config_misc.html index e78da32d5..0d619dec3 100644 --- a/docs/config_misc.html +++ b/docs/config_misc.html @@ -299,9 +299,12 @@

Checks for uncommented main() methods (debugging leftovers).

-

Rationale: main() method can be often used for - debug puposes. Thus most of main() method should be - removed/commented out of the sources. +

Rationale: A main() method is often used for + debug puposes. When debugging is finished, developers often forget + to remove the method, which changes the API and increases the size + of the resulting class/jar file. With the exception of the real + program entry points, all main() methods should be removed/commented + out of the sources.

Properties

@@ -313,8 +316,8 @@ - +
excludedClassespattern for qualified names of classes which ar allowed - to have main method.pattern for qualified names of classes which are allowed + to have a main method. regular expression ^$