4875 Commits

Author SHA1 Message Date
Wouter Zelle
905dc93273 Fixed bug 1698550 - CloneMethodMustImplementCloneable now accepts a clone method that throws CloneNotSupportedException in a final class
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5405 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-12 11:27:57 +00:00
Ryan Gustafson
6898082b28 Bring XML Schema and DTD up to date w.r.t. actual usage. Correct minor validation violation in basic.xml.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5404 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-12 04:19:20 +00:00
Tom Copeland
2ad7f6f0a5 Modified to allow for multiple examples per ruleset file
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5403 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-12 01:41:02 +00:00
Tom Copeland
15c935fd7a git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5402 51baf565-9d33-0410-a72c-fc3788e3496d 2007-07-12 00:50:51 +00:00
Wouter Zelle
5d811ee59f The new typeresolution SignatureDeclareThrowsException rule can now ignore JUnit classes completely by setting the IgnoreJUnitCompletely property
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5401 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-11 11:18:40 +00:00
Wouter Zelle
0c5b90b2fe Typeresolution version of SignatureDeclareThrowsException to fix bug 1680568
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5400 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-11 09:44:25 +00:00
Tom Copeland
0d97bb25da Commented out a failing 'test'; really it's more of a demo, I think
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5399 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-11 01:14:45 +00:00
Tom Copeland
df9c7f3bc6 Applied patch from Romain Pelisse to reduce false positives for this rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5398 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-11 01:14:23 +00:00
Wouter Zelle
4b0a491f15 Fixed crash if the second ASTVariableDeclaratorId is returned instead of the first
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5397 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-10 21:09:14 +00:00
Wouter Zelle
58b2362ecc Fixed bug where search for alternative MethodNameDeclaration results in a ClassCastException
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5396 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-10 20:44:26 +00:00
Wouter Zelle
7736bdd3f8 Fixed issue with a failing LanguageFactoryTest on Windows due to case issues. Most likely, this also fixes some 'real' cases where the parser could not be found.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5395 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-10 15:41:25 +00:00
Wouter Zelle
6a963cb83a Fixed JUnit test
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5394 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-10 14:03:31 +00:00
Wouter Zelle
8ce81822d7 whitespace
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5393 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-09 14:44:40 +00:00
Tom Copeland
d887d5b0bf Adding Torsten to various places:
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5392 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-05 01:51:34 +00:00
Allan Caplan
e3ff48ec32 Fix to defect 1743938 False+: InsufficientStringBufferDeclaration with multiply
Fix to defect 1657957 UseStringBufferForStringAppends

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5391 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-04 00:07:20 +00:00
Tom Copeland
e5433482a9 Bah
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5390 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-03 14:22:07 +00:00
Tom Copeland
845da35b94 And here
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5389 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-03 14:21:09 +00:00
Tom Copeland
62296b45e2 Default to Java 1.5 here too
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5388 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-03 14:20:58 +00:00
Tom Copeland
fd39bc91da Switched various defaults to be Java 1.5
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5387 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-03 14:12:51 +00:00
Tom Copeland
3baf8238aa Fixed externalInfo links; thanks to Paul Sundling for the patch!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5386 51baf565-9d33-0410-a72c-fc3788e3496d
2007-07-03 01:03:38 +00:00
Tom Copeland
01c44a7c69 A little utility for testing XPath against a file
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5385 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-29 01:17:18 +00:00
Tom Copeland
8b2b352837 Removed some obvious Javadoc, reformatting
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5384 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-29 01:15:56 +00:00
Tom Copeland
115f1086c2 That should do it
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5383 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-29 00:48:05 +00:00
Tom Copeland
886974a2f1 More test case consolidation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5382 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-28 13:22:16 +00:00
Tom Copeland
cd089a159f More test case consolidation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5381 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-28 13:15:18 +00:00
Xavier Le Vourch
59afc3a38b XMLRenderer now uses OnTheFlyRenderer, elapsed time attribute has been removed
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5380 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-28 02:06:31 +00:00
Tom Copeland
6539404dad Removed outdated Javadoc
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5379 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-27 22:24:45 +00:00
Tom Copeland
29d236b7fc More test case consolidation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5378 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-27 22:07:30 +00:00
Tom Copeland
a850f6275c More test class cleanups
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5377 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-27 02:29:19 +00:00
Tom Copeland
bec9a1b8a3 More test cleanups
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5376 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-27 02:10:23 +00:00
Tom Copeland
14ec8c6032 More test cleanup. Thank goodness for find, xargs, grep, and cut.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5375 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-27 02:01:06 +00:00
Tom Copeland
567948e2c3 Goodbye duplicated code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5374 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-27 01:54:34 +00:00
Tom Copeland
3352454242 Rest of basic ruleset tests merged
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5373 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-27 01:40:30 +00:00
Tom Copeland
f1f10c9462 Consolidating test code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5372 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-26 22:55:28 +00:00
Tom Copeland
ed35b31cd8 Fixed broken XSLT; thanks to Ralf Wagner for the note!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5371 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-26 22:42:28 +00:00
Tom Copeland
e93ee29b77 Removed test override
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5370 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-26 22:32:44 +00:00
Tom Copeland
d914a905f0 Actually getting the variable name when possible now; thanks to Matt Koch for the patch!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5369 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-26 22:22:24 +00:00
Tom Copeland
fcb9866749 Applied patch from Romain Pelisse; making the list of languages a bit more dynamic
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5368 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-26 11:48:50 +00:00
Tom Copeland
da7552a32a Applied patch from Romain Pelisse; making the list of languages a bit more dynamic
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5367 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-26 11:47:53 +00:00
Tom Copeland
ed36371924 Patch from Matthew Koch to add more info to XML report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5366 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-26 01:31:50 +00:00
Xavier Le Vourch
e72754a318 oops: debug statement left in previous commit...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5365 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-25 01:35:30 +00:00
Tom Copeland
64237ca3d5 Merely a test commit
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5364 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-25 01:35:19 +00:00
Tom Copeland
b49ac3ed34 Merely a test commit
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5363 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-25 01:35:10 +00:00
Xavier Le Vourch
2edda84257 fixed false positive in UselessOperationOnImmutable for conditional expression
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5362 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-25 01:29:56 +00:00
Xavier Le Vourch
80f6dc6106 svn import: correct mime type for gif files
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5152 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-24 18:28:51 +00:00
Xavier Le Vourch
cf1eab9a4c svn import: .cvsignore can be removed
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5151 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-24 03:15:17 +00:00
Xavier Le Vourch
393d392388 svn import: CVSROOT removed
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5150 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-24 03:11:11 +00:00
Tom Copeland
d2d107049b Getting a few more things in place for a release that includes the java14 versions of things
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5148 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-24 01:06:17 +00:00
Tom Copeland
1fd4d81ebd Bah!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5147 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-23 01:22:14 +00:00
Tom Copeland
bf2dc5cd64 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5146 51baf565-9d33-0410-a72c-fc3788e3496d
2007-06-23 01:12:13 +00:00