3858 Commits

Author SHA1 Message Date
Philippe Herlin
2db29a19c5 Ignore exceptions occuring inside the teardown operation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4145 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-17 21:26:41 +00:00
Philippe Herlin
77876a2641 Update the PMD 3.4 librairy.
Add jakarta ORO for Regexp support.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4141 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-17 21:23:19 +00:00
Tom Copeland
e58d755134 Moved JDK 1.5 jobs to a different file until I can figure out how to count lines of code there
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4140 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-16 21:55:19 +00:00
Tom Copeland
7ed77999e6 Moved BooleanInversion to controversial ruleset until I can look at it a bit more
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4139 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-13 22:43:15 +00:00
Tom Copeland
57d7077984 Added test case for String.indexOf(String, int)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4138 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-13 22:03:45 +00:00
Tom Copeland
73a73779b6 tweaks here and there
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4137 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-12 22:09:44 +00:00
Tom Copeland
b1c8791399 Implemented UseIndexOfChar
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4136 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-11 22:09:06 +00:00
Tom Copeland
8e4783d170 Implemented UseIndexOfChar
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4135 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-11 22:04:15 +00:00
Tom Copeland
d9a56c328a Moving to JavaCC 4.0 final
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4134 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-10 14:38:57 +00:00
Jiger Patel
6d8730b935 added some useful tips when releasing the plugin!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4133 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-10 10:50:30 +00:00
Jiger Patel
3870aeabcc Changed jEdit's version
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4131 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-10 10:02:31 +00:00
Jiger Patel
aeb7ceaa58 Releasing PMD jEdit plugin 2.6
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4130 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-10 09:24:26 +00:00
Jiger Patel
0d45295471 Releasing PMD jEdit plugin 2.6
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4129 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-10 09:16:29 +00:00
Tom Copeland
c9a2b45ee0 Fixed a bug in CPD's C/C++ parser so that it no longer fails on multi-line literals; thx to Tom Judge for the nice patch.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4128 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-09 22:52:14 +00:00
Tom Copeland
078ec6e2c8 Fixed bug 1400754 - A NPE is no longer thrown on certain JDK 1.5 enum usages.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4127 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-09 22:39:18 +00:00
Tom Copeland
0546af656d Added Allan Caplan's implementation of ConsecutiveLiteralAppends; thanks Allan!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4126 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-09 15:53:09 +00:00
Tom Copeland
6970d1d17e A few more tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4125 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-07 19:15:35 +00:00
Tom Copeland
1b6991153f Checking in Fabio Insaccanebbia's UnusedNullCheckInEquals rule, thanks Fabio!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4124 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-07 01:28:09 +00:00
Tom Copeland
72c4a50bc7 Rebuilt cpp parser with JavaCC 4.0 RC1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4123 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-07 01:27:18 +00:00
Tom Copeland
d80b5895a8 Added .cc as a C++ file type, thx to Tom Judge for the patch
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4122 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-06 21:38:01 +00:00
Tom Copeland
2bfef76244 Applied Tom Judge's patch to fix JDK compatibility problems, thanks Tom!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4121 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-06 21:34:15 +00:00
Radim Kubacki
9baba321ed Options customization updated to plug into new NetBeans 5.0 options dialog.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4120 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-06 09:28:00 +00:00
Radim Kubacki
8787c18eb4 Removing old customization node
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4119 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-06 09:25:32 +00:00
Radim Kubacki
68d6a53196 Updated options UI to plug into new NetBeans options dialog.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4118 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-06 09:23:06 +00:00
Tom Copeland
ee2d771562 Fixed docs; thx to Sean Mountcastle for the pointer
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4117 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-05 22:32:05 +00:00
Tom Copeland
ecf99afdea Tweaked examples
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4116 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-05 22:01:14 +00:00
Tom Copeland
ded50b090f Added Allan Caplan's implementation of BooleanInversion; thanks Allan!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4115 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-05 14:48:11 +00:00
Tom Copeland
20f90702fc Renamed 'regexp' function to 'matches'; this aligns with XPath 2.0. Thanks to Daniel Sheppard for the tip.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4114 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-04 14:32:40 +00:00
Tom Copeland
0252fe5133 Added Fabio Insaccanebbia's latest creation - MisplacedNullCheck. Thanks Fabio!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4113 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-04 06:08:58 +00:00
Tom Copeland
f4f7488f6d Fixed bug 1394808 - fewer missed hits for AppendCharacterWithChar and InefficientStringBuffering, thanks to Allan Caplan for catching these
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4112 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-04 03:34:59 +00:00
Tom Copeland
fb7fff5d4b Moved imports rules to their own package
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4111 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-31 03:34:17 +00:00
Tom Copeland
06254d99d8 Added Fabio's UselessOperationOnImmutable rule to the basic ruleset, thx Fabio!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4110 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 23:08:49 +00:00
Tom Copeland
8e23fe13a4 Hm, backed out that change since it broke things like 'if (this != foo)'
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4109 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 23:07:17 +00:00
Tom Copeland
b41e2eab67 More links
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4108 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 22:45:08 +00:00
Tom Copeland
474cecdb8b Documentation for VariableNamingConventions
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4107 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 21:58:43 +00:00
Tom Copeland
67599a4f9c Fixed bug 1384594 - Added a 'prefix' property for BeanMembersShouldSerializeRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4106 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 20:51:10 +00:00
Tom Copeland
2356890a56 Removed old cruft; findRule makes those unnecessary
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4105 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 20:23:34 +00:00
Tom Copeland
c2fb185d3f Ant task now supports a 'minimumPriority' attribute; only rules with this priority or higher will be run. Renamed Ant task 'printToConsole' attribute to 'toConsole' and it can only be used inside a formatter element.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4104 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 19:59:11 +00:00
Philippe Herlin
1096fe8278 Preparing release v3.1.3
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4103 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 17:38:10 +00:00
Philippe Herlin
85a50d9cbd Upgrading to PMD v3.4
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4102 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 17:37:05 +00:00
Philippe Herlin
07bd3970b9 Reverse to WARN level
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4101 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 17:33:26 +00:00
Philippe Herlin
d3235c4509 Upgrade to PMD v3.4 -> RuleViolation interface has changed!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4100 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 17:30:21 +00:00
Philippe Herlin
1654d21396 Implement a new preferences model and review some tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4099 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 16:29:16 +00:00
Philippe Herlin
68ac44aba9 Implement a new preferences model
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4098 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 16:27:59 +00:00
Philippe Herlin
5f03939f66 Adding a null resource is illegal. Throw an IllegalArgumentException.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4097 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 16:24:01 +00:00
Philippe Herlin
07acd1a89a Add a debug log to check what happens when this action is launched in an editor pane
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4096 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-30 16:22:31 +00:00
Tom Copeland
ddb628fce5 another test
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4095 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-29 21:20:15 +00:00
Tom Copeland
096b356fed Added Fabio's enhancements to AvoidArrayLoops; thanks Fabio!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4094 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-29 02:02:36 +00:00
Tom Copeland
000b054d09 Running PMD on PMD pays off, w00t
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4093 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-24 02:51:10 +00:00
Tom Copeland
88a9072b8d Minor tweaks to track changes to the JDK 1.5 grammar that ships with JavaCC
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4092 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-24 02:39:46 +00:00