4251 Commits

Author SHA1 Message Date
Jiger Patel
557ac03fd3 Updated to PMD 3.8
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4562 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-04 09:45:44 +00:00
Tom Copeland
0318a3507d import cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4561 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-04 02:09:23 +00:00
Tom Copeland
cb4e9276e7 Release preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4560 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-04 02:05:54 +00:00
Tom Copeland
8eb4381dfa Removed deprecated methods
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4559 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-04 01:59:59 +00:00
Tom Copeland
38da286429 Tabs to spaces
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4558 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-04 01:46:15 +00:00
Brian Remedios
86af92c550 + TODO tag
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4557 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-03 13:24:08 +00:00
Tom Copeland
01ba9a8f00 Split JSP rules out into a separate release ruleset; thanks to Xavier Le Vourch for catching this
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4556 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-03 12:45:15 +00:00
Brian Remedios
d15f2fd329 refactored & optimized
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4555 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-03 03:12:49 +00:00
Brian Remedios
a24b7c6a53 optimization: faster searches through sets vs lists
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4554 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-03 02:32:35 +00:00
Tom Copeland
29a3ccf9be Upgraded Jaxen from beta 7 to beta 10
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4553 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-03 02:28:45 +00:00
Brian Remedios
8fd7757ec7 minor optimization
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4552 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-03 02:23:40 +00:00
Brian Remedios
7fe14b10b9 various optimizations
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4551 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-03 02:16:12 +00:00
Brian Remedios
9678c7f9f8 Migrated MatchLength comparator to live with the others
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4550 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-03 01:49:03 +00:00
Tom Copeland
8bc4834771 An EqualsNull bugfix from Xavier
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4549 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-02 12:26:24 +00:00
Tom Copeland
306e6c35cd A tweak from Jason Bennett to fix [ 1569067 ] Cyclomatic Complexity does not handle multiple && and ||
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4548 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-02 12:22:20 +00:00
Tom Copeland
8e3590d910 Another fine rule from Xavier Le Vourch: UselessStringValueOf
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4547 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-29 01:36:14 +00:00
Tom Copeland
75a19cba00 Added new rule from Xavier Le Vourch: UnnecessaryWrapperObjectCreation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4546 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-29 01:24:59 +00:00
Tom Copeland
24030320e0 Another bugfix from Xavier: [ 1567385 ] false+ in AvoidRethrowingException
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4545 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-29 00:08:44 +00:00
Tom Copeland
fd0eb131ac Applied patch from Xavier Le Vourch: [ 1567368 ] False + in MissingStaticMethodInNonInstantiatableClass
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4544 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-29 00:05:18 +00:00
Tom Copeland
cbcb91f299 Added a couple releases
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4543 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-24 01:03:11 +00:00
Brian Remedios
4c3bf28a38 rm now-obsolete class
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4542 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 21:42:46 +00:00
Brian Remedios
24614994c2 optimizations
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4541 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 21:41:01 +00:00
Brian Remedios
ad9fd1ffc3 optimizations
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4540 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 21:33:26 +00:00
Brian Remedios
f39b361b69 rm unnecessary else
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4539 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 21:28:58 +00:00
Brian Remedios
8bb194c57f updated with Singleton VisitorStarter
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4538 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 21:26:27 +00:00
Brian Remedios
469323e13a minor tweak & comment
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4537 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 20:57:44 +00:00
Brian Remedios
35d08541a4 minor tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4536 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 20:50:38 +00:00
Brian Remedios
f975de9947 rm unnecessary cast
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4535 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 20:48:49 +00:00
Brian Remedios
358f94eb65 minor optimization
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4534 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 16:11:24 +00:00
Brian Remedios
1bedc99ad2 minor cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4533 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 15:52:36 +00:00
Brian Remedios
8fd44fbd1c minor cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4532 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 15:38:09 +00:00
Brian Remedios
53f7d24b77 replaced common Integer creation with numeric constants & minor tweaks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4531 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 15:29:44 +00:00
Brian Remedios
9a7c7b6085 optimized toArray conversion
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4530 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 15:21:57 +00:00
Brian Remedios
9a3ec16874 minor performance tweaks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4529 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 15:20:15 +00:00
Brian Remedios
a29621c969 replaced common Integer creation with numeric constants
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4528 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 15:13:06 +00:00
Brian Remedios
7194d5788a replaced common Integer creation with numeric constants
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4527 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 15:04:27 +00:00
Brian Remedios
81d80c2c73 minor cleanup, updated string appends with one-character strings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4526 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 14:44:09 +00:00
Brian Remedios
04d087a48d optimized toArray conversion
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4525 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-23 14:40:16 +00:00
Tom Copeland
785b64e8e6 Added new AvoidRethrowingException rule; thanks to George Thomas for the contribution!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4524 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-22 13:14:31 +00:00
Tom Copeland
59a61d92a2 Added Brian Remedios to various places; welcome aboard, Brian!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4523 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-22 12:50:32 +00:00
Tomasz Slota
6bdafe06b4 fixed a threading problem
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4522 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-22 12:39:39 +00:00
Tom Copeland
5f988bbe6d More DFA tweaks from Sven Jacob
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4521 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-22 02:54:03 +00:00
Tom Copeland
0db7c7d108 Adding Alan Ezust; he'll be working on the jEdit plugin with Jiger
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4520 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-21 23:20:49 +00:00
Tom Copeland
c5bfc2f410 Removed a hardcoded 'NOPMD'
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4519 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-21 19:17:09 +00:00
Tom Copeland
9fb0af8b0f Rewrote the NOPMD mechanism to collect NOPMD markers as the source file is tokenized. This eliminates an entire scan of each source file.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4518 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-21 03:17:18 +00:00
Tomasz Slota
b5b423d53b increased version number, added myself to the list of authors
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4517 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-20 06:11:10 +00:00
Tom Copeland
e65de99ef0 Fixed bug 1561784 - AbstractOptimizationRule no longer throws ClassCastExceptions on certain postfix expressions.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4516 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-20 03:59:54 +00:00
Tom Copeland
dc68f9a8fb Patch to fix false+ in SimplifyConditional; thanks again to Xavier!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4515 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-20 03:54:09 +00:00
Tom Copeland
6e45b64f82 False+ fix from Xavier
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4514 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-20 03:50:49 +00:00
Tom Copeland
e4662f814d Speling patch from Xavier Le Vourch
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4513 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-20 03:48:43 +00:00