Commit Graph

4697 Commits

Author SHA1 Message Date
Xavier Le Vourch
eb249bf9bc code cleanup: exception clauses
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5015 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-31 00:02:39 +00:00
Xavier Le Vourch
ee5a39d4c5 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5014 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-30 23:51:16 +00:00
Xavier Le Vourch
cd8bd5d1b3 AvoidArrayLoops added to pmdOnPmd
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5013 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-30 23:50:32 +00:00
Tom Copeland
9c1c395f21 Hm, this test fails for me... anyone else seeing this?
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5012 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-30 23:05:42 +00:00
Tom Copeland
6bd8e047de Now that we're on JDK 1.4 we can just use String.split, thank goodness
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5011 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-30 23:05:09 +00:00
Xavier Le Vourch
f8163d06a2 weaved jar files + retroweaver rt added first
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5010 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-30 05:21:56 +00:00
Xavier Le Vourch
7cf56a7f30 weaved jar files + retroweaver rt added first
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5009 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-30 05:16:48 +00:00
Allan Caplan
c81767249b Checking in some Java 5 changes. Adding a test for PapariTextRenderer - modified the class slightly to be able to mock the Reader in the JUnit test
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5008 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-30 00:34:24 +00:00
Allan Caplan
bfc8b24bd2 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5007 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-29 18:09:16 +00:00
Xavier Le Vourch
7e26a9c1dc pmdOnPmd: migration rules
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5006 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-29 03:12:13 +00:00
Xavier Le Vourch
ec3f66e433 migration rules added
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5005 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-29 03:11:41 +00:00
Xavier Le Vourch
4b01aad267 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5004 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-29 02:26:05 +00:00
Allan Caplan
10a60053c2 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5003 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-29 02:25:31 +00:00
Allan Caplan
7ee230efcf Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5002 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-29 01:49:41 +00:00
Xavier Le Vourch
47930af177 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5001 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-29 01:39:20 +00:00
Xavier Le Vourch
332773291e PMD on PMD cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5000 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-29 00:15:24 +00:00
Xavier Le Vourch
db5ac5dc21 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4999 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-29 00:01:36 +00:00
Xavier Le Vourch
ca910d3703 code cleanup: unused list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4998 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-28 23:08:36 +00:00
Xavier Le Vourch
af131594c9 bug fixes: concurrency problems
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4997 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-28 22:55:13 +00:00
Xavier Le Vourch
29a70ceebe import cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4996 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-28 20:14:56 +00:00
Sven Jacob
fd49cb2cc7 Fixed default values for priorities
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4995 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-28 18:19:19 +00:00
Xavier Le Vourch
e14bf0ee5f Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4994 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-28 04:56:11 +00:00
Xavier Le Vourch
0eaac2fbdb Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4993 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-28 04:09:02 +00:00
Xavier Le Vourch
c70ebf0610 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4992 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-28 01:48:08 +00:00
Xavier Le Vourch
84bbe57a2a Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4991 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-28 00:59:32 +00:00
Xavier Le Vourch
45e310cfe4 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4990 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-28 00:29:59 +00:00
Xavier Le Vourch
0f22e2b21b Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4989 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 23:56:52 +00:00
Xavier Le Vourch
7786a8266b Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4988 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 23:17:08 +00:00
Xavier Le Vourch
d37b148b01 pmd task needs targetjdk 1.5 for 'pmdOnPmd'
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4987 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 22:44:19 +00:00
Xavier Le Vourch
eeaef87936 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4986 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 22:26:16 +00:00
Xavier Le Vourch
dbe392343a Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4985 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 22:21:58 +00:00
Xavier Le Vourch
0dbf51a023 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4984 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 21:51:18 +00:00
Xavier Le Vourch
5e3e0492ce Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4983 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 21:26:11 +00:00
Xavier Le Vourch
2d2970a3c1 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4982 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 21:01:43 +00:00
Allan Caplan
1d1e289298 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4981 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 18:17:06 +00:00
Allan Caplan
ccdef61ec8 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4980 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 18:11:14 +00:00
Allan Caplan
7e76a69137 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4979 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 16:22:46 +00:00
Allan Caplan
8293ffc2aa Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4978 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 15:59:46 +00:00
Allan Caplan
42008b02f4 Checking in some Java 5 changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4977 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 15:46:28 +00:00
Xavier Le Vourch
e3437d47df bin and java/bin versions use similar variables
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4976 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 05:00:49 +00:00
Xavier Le Vourch
bf8fc96a0a all .bat files use similar setup. Should be easier to maintain/automate changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4975 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 04:21:06 +00:00
Xavier Le Vourch
cb0c334007 updates for weaving to work on Linux
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4974 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 02:25:57 +00:00
Xavier Le Vourch
516c081652 PMD now requires JDK 1.5 to be compiled. Java 1.4 support is provided using Retroweaver
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4973 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-27 01:14:44 +00:00
Brian Remedios
797aedf087 Cleanup rule description formatting & sorting bug crasher
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4972 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-24 22:46:17 +00:00
Allan Caplan
9a785ded03 RFE - 1627581 - Unused(*) rules should respect annotations
@SuppressWarnings("unused") will suppress the rules currently in unusedcode.xml ruleset

Including unit tests.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4971 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-24 02:44:17 +00:00
Wouter Zelle
0b79372cf5 clarified loop
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4970 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-22 21:13:05 +00:00
Wouter Zelle
e3c2b25ad5 commented out code that is related to the other commented out code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4969 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-22 21:12:25 +00:00
Wouter Zelle
7d19e1dbd8 Added NOPMD and comments to indicate why
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4968 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-22 21:12:21 +00:00
Wouter Zelle
70b048e96e Don't catch Throwables
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4967 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-22 21:08:25 +00:00
Wouter Zelle
68e10b5157 New ant target to run PMD on the PMD sources with 20 rules that we could enforce at one point
Small change to copy all rulesets cleanly
Added proper target dependencies to pmd target, same as pmdOnPmd


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4966 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-22 20:48:53 +00:00