1359 Commits

Author SHA1 Message Date
Tom Copeland
2a5d5adbb2 added a property so this rule is only triggered if the same literal shows up 4 times in the same file. This cuts down on the noise a bit
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1209 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-06 19:29:48 +00:00
Tom Copeland
f9f35e0702 modified this rule to do what we really want it to - find duplicate literals
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1208 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-06 19:13:48 +00:00
Tom Copeland
b5299c890d added Paul Kendall's enhancements to EmptyCatchBlockRule. Added new tests. Fixed stuff PMD found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1207 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-06 13:29:05 +00:00
Ole-Martin Mork
e93c90fec3 Fixes for the 0.4 version
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1205 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-05 22:04:57 +00:00
Tom Copeland
e210538d82 fixed bug 633892
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1204 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-05 20:27:18 +00:00
Tom Copeland
f9a7b1ef3d fixed bug 633879
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1203 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-05 19:38:41 +00:00
Tom Copeland
487a46f569 made HTML rendering nicer; tweaked Ant task to use shorter file names
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1202 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-05 16:44:43 +00:00
Tom Copeland
b4e7961388 commented out experimental rules
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1201 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-05 15:46:58 +00:00
Tom Copeland
fe86aa9abd remove string contents from rule violation msg
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1200 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-05 13:26:01 +00:00
Ole-Martin Mork
f9dacb2aef added more comments
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1199 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 23:20:51 +00:00
Ole-Martin Mork
d99b33a6a0 Preparing for 0.3 release. Fixed bug 633426 and 633424. updated pmd version
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1198 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 23:14:38 +00:00
Tom Copeland
344f1ea5c4 fixed misc stuff PMD found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1197 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 21:26:07 +00:00
Tom Copeland
dbb494d9f6 removed favorites.xml from here since it just references other rulesets
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1196 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 21:10:02 +00:00
Tom Copeland
de7bdae073 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1194 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 20:35:00 +00:00
Tom Copeland
88338032d3 added a new ruleset as an example
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1193 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 20:28:13 +00:00
Tom Copeland
adf12b49f7 added a new ruleset as an example
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1192 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 20:28:12 +00:00
Tom Copeland
a929d3f046 added a new ruleset as an example
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1191 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 20:28:11 +00:00
Tom Copeland
ce357c86a0 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1190 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 20:09:19 +00:00
Ole-Martin Mork
d0e48037f1 Make it look good again
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1189 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 20:07:46 +00:00
Ole-Martin Mork
de2b07d0f3 the image didn't look good at viewcvs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1188 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 19:52:23 +00:00
Tom Copeland
11dc9e3e75 added new AvoidStringLiterals rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1187 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 15:52:52 +00:00
Tom Copeland
145610a96d *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1186 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-04 14:11:26 +00:00
Ole-Martin Mork
35600bd566 Added the changes.txt, soon ready for 0.3 release.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1185 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-03 14:31:45 +00:00
Ole-Martin Mork
db38878aed Updated manifest to 0.3 version and runned prettyprint to make the javacode look good
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1184 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-03 14:22:41 +00:00
Ole-Martin Mork
1eb7d66dec Created our own annotation type. Made the annotation go away when the user edits the line.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1183 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-02 20:26:06 +00:00
Tom Copeland
3a86cbe699 added new Unnecessary Constructor rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1182 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-01 14:25:16 +00:00
Tom Copeland
b1aba57ca0 eliminated a bunch of unused AST nodes using #void; this speeds up parsing by about 25%
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1181 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-31 18:41:55 +00:00
Tom Copeland
c77a632c35 fixed bug 631605
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1180 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-31 16:48:24 +00:00
Ole-Martin Mork
1f9aab3a74 Added the annotation class, and modified the other classes to use that one. Reason, the markError method that we used was deprecated. Updated some javadocs.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1179 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-30 22:47:53 +00:00
Tom Copeland
c7019f092e fixed stuff pmd found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1178 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-30 18:51:04 +00:00
Tom Copeland
2f83a727b6 adding tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1177 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-30 15:54:42 +00:00
Tom Copeland
1d4b8ccf68 fixed bug 631010 - AvoidDeeplyNestedIfStmts was broken
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1176 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-30 15:36:33 +00:00
Tom Copeland
7e4cdbd77a fixed bug 631010 - AvoidDeeplyNestedIfStmts was broken
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1175 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-30 15:35:42 +00:00
Tom Copeland
27aece4038 updated OpenIDE-Module-Specification-Version to 0.12
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1174 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-30 14:40:06 +00:00
Tom Copeland
690754060f turned / around, this makes things work on Linux
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1173 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-30 13:47:56 +00:00
Tom Copeland
98843d73fa refactoring - added a function to remove some duplicate code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1172 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-29 20:23:53 +00:00
Tom Copeland
443d3fcf0f some minor refactoring; just cleaning up some of the duplicate code/methods in the symbol table subsystem. Also added a UnaryFunction/Applier thingamajigger to do closure stuff.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1171 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-29 16:02:19 +00:00
Tom Copeland
9a3be6b590 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1170 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-29 14:21:37 +00:00
Tom Copeland
2bfc8138d9 added netbeans
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1169 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-29 03:00:06 +00:00
Tom Copeland
6b854562bc made some minor changes to get the zip file creation working
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1168 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-29 02:58:18 +00:00
Ole-Martin Mork
3ca0981891 Making it binary...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1167 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-28 22:57:57 +00:00
Ole-Martin Mork
bcd59493f1 Adding files to the project
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1166 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-28 22:44:11 +00:00
Ole-Martin Mork
cbf1a5ea44 Adding files to the project
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1165 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-28 22:36:20 +00:00
Ole-Martin Mork
681aa561b0 Ooops, newbie.
Removing what I entered...


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1164 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-28 22:18:32 +00:00
Ole-Martin Mork
a026e120ef Initial revision
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1160 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-28 22:10:47 +00:00
Tom Copeland
f6fa6dffcf tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1159 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-28 14:38:34 +00:00
Don Leckie
d5e0705225 no message
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1158 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-27 03:41:40 +00:00
Tom Copeland
1b8f41d44f modified to support Jakarta projects
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1157 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-24 15:02:16 +00:00
Tom Copeland
a6ee8f7694 fixed stuff pmd found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1156 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-23 21:31:29 +00:00
Tom Copeland
5a657b9ccd slowly beefing up method symbol table
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1155 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-23 18:46:47 +00:00