From 4b637dbf9b2611b466d4a558c0b6c66791f49ab2 Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Wed, 9 Oct 2002 19:03:40 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1090 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-web/src/pmd-web.xml | 22 ---- pmd-web/src/rulesets/basic.xml | 179 --------------------------------- 2 files changed, 201 deletions(-) delete mode 100644 pmd-web/src/pmd-web.xml delete mode 100644 pmd-web/src/rulesets/basic.xml diff --git a/pmd-web/src/pmd-web.xml b/pmd-web/src/pmd-web.xml deleted file mode 100644 index fd168a843f..0000000000 --- a/pmd-web/src/pmd-web.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/pmd-web/src/rulesets/basic.xml b/pmd-web/src/rulesets/basic.xml deleted file mode 100644 index 9ad1fd9aa4..0000000000 --- a/pmd-web/src/rulesets/basic.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - -The Basic Ruleset contains a collection of good practice rules -which everyone should follow. - - - - - -Empty Catch Block, will find instances where an exception is caught, -but nothing is done. In most circumstances, this swallows an exception -which should either be acted on or reported. - - - - - - - - - -Empty If Statement, will find instances where a condition is checked, -but nothing is done about it. - - - - - - - - -Empty While Statement, will find all instances where a while statement -does nothing. If it is a timing loop, then you should use Thread.sleep() for it; if -it's a while loop that does a lot in the exit expression, rewrite it to make it clearer. - - - - - - - - - -Short Variable: detects when a field, local or parameter has a -length of less than 3 characters. - - - - - - - - -Long Variable: detects when a field, formal or local variable is declared -with a name larger than 12 characters. - - - - - - - - -Short Method Names: Detects when method names less than 4 characters -long are used. - - - - - - - - - Avoid using if..else statements without using curly braces - - - - - - - - - - Avoid unnecessary temporaries when converting primitives to Strings - - - - - - - - - - -