3660 Commits

Author SHA1 Message Date
Radim Kubacki
77224e2191 enhanced to show markers in error stripe when continous scan is turned on (applies to dev builds of NB only
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3722 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 18:30:04 +00:00
Radim Kubacki
bceac8e5f4 fixing licenses
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3721 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 18:26:40 +00:00
Tom Copeland
4f3f9fdec3 More rule XML cleanups
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3720 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 18:17:46 +00:00
Tom Copeland
151b30380d Cleaning up format, some examples tweaks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3719 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 13:32:52 +00:00
Tom Copeland
6bc7b525da package -> private
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3718 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 01:43:42 +00:00
Tom Copeland
408870d846 Wouter Zelle's new ProperLogger rule; thanks Wouter!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3717 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-20 13:40:24 +00:00
Tom Copeland
b238b27130 Nicer examples
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3716 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-20 11:53:58 +00:00
Tom Copeland
5c0cd05599 Implemented RFE 1097090 - The PMD Report object now contains the elapsed time for running PMD. This shows up in the XML report as an elapsedTime attribute in the pmd element in the format '2m 5s' or '1h 5h 35s' or '25s' .
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3715 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-19 22:20:08 +00:00
Tom Copeland
2efab44902 Implemented RFE 1097090 - The Report object now contains the elapsed time for running PMD. This shows up in the XML report as an elapsedMilliseconds attribute in the pmd element.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3714 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-19 21:40:58 +00:00
Tom Copeland
e1181c7a03 Applied patch 1228834 - XPath rules can now use properties to customize rules. Thanks to Wouter Zelle for another great piece of work!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3713 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-19 18:57:41 +00:00
Tom Copeland
b9eaa4d2f6 Implemented RFE 787860 - UseSingleton now accounts for JUnit test suite declarations.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3712 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-18 17:37:32 +00:00
Tom Copeland
97ac55669e Improved warning message from UnusedPrivateMethod.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3711 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-18 14:53:00 +00:00
Tom Copeland
b321459515 Fixed bug 1240201 - The UnnecessaryParentheses message is no longer restricted to return statements.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3710 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-18 12:53:44 +00:00
Tom Copeland
2bf8da4a41 Cleaning up some stuff PMD found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3709 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-16 02:47:36 +00:00
Tom Copeland
573841bdec Refactoring away a bunch of casts... good times
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3708 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-16 02:31:26 +00:00
Tom Copeland
7817e05519 Refactoring away a bunch of casts... good times
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3707 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-16 01:29:44 +00:00
Tom Copeland
947c9c4b94 Added a new utility method to AbstractRule and modified a bunch of rules to use it
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3706 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-16 00:25:52 +00:00
Tom Copeland
18775865fa Added a new utility method to AbstractRule and modified a bunch of rules to use it
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3705 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-16 00:11:18 +00:00
Radim Kubacki
84064bbdcb adding few rules that are specific to NetBeans as a library that can be loaded by plugin
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3704 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-15 15:35:03 +00:00
Radim Kubacki
071b4468cf attempt to close output stream
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3703 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-15 15:30:58 +00:00
Tom Copeland
6b34b6048d Enhanced EmptyIfStmt to catch more cases
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3702 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-14 20:33:26 +00:00
Tom Copeland
9d95547246 Enhanced EmptyIfStmt to catch more cases
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3701 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-14 20:28:01 +00:00
Tom Copeland
227503bc31 Using the SimpleNameMapper in test case now
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3700 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-14 01:49:57 +00:00
Philippe Herlin
5b9fcc3c76 RFE#1231112-Make the rule table columns sortable (thanks to Brian R)
BUG#1231108-Fix the resizing issue


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3699 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-12 16:38:25 +00:00
Philippe Herlin
54a3243824 RFE#1231112-Make the rule table columns sortable (thanks to Brian R)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3698 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-12 16:34:25 +00:00
Tom Copeland
4325081455 Fixed mispelings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3697 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-12 16:30:57 +00:00
Tom Copeland
0a6921c257 Tweaked a method to reflect new RuleSetNotFound behavior
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3696 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-12 14:17:56 +00:00
Tom Copeland
842d213c8f Oops, moved QALab to open source, thx Wim!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3695 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-12 11:43:38 +00:00
Tom Copeland
9542289002 Added mention of QALab
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3694 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-11 21:22:27 +00:00
Tom Copeland
e546765418 Oops, test should have 'copy' amongst its dependencies
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3693 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-11 21:20:16 +00:00
Tom Copeland
a6dbf2535e Implemented RFE 1230685 - The text report now includes parsing errors even if no rule violations are reported
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3692 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-11 12:44:43 +00:00
Radim Kubacki
285434045a updated to pmd-3.2
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3689 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 18:25:48 +00:00
Radim Kubacki
7c109614ae changes described
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3688 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 18:22:34 +00:00
Radim Kubacki
47e77f0eee year updated
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3687 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 18:21:53 +00:00
Radim Kubacki
93439fbffa only a comment
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3686 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 18:18:37 +00:00
Radim Kubacki
c87dabdedd avoiding NPE from explorer when real time scaning is on
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3685 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:24:20 +00:00
Radim Kubacki
fa66cfc2f5 updated
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3684 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:22:32 +00:00
Radim Kubacki
feca50ab29 small change in logging
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3683 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:21:24 +00:00
Radim Kubacki
30550dd643 32x32 icon is not neceseary
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3682 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:19:55 +00:00
Radim Kubacki
b4d57f8556 better category for this module
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3681 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:18:56 +00:00
Tom Copeland
ac9207dcb7 Yay! Fixed a bug in the grammar that didn't allow constructors to have type parameters, which couldn't parse some JDK 1.5 constructs.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3680 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 06:49:30 +00:00
Tom Copeland
117bdabd4c 'Fixed' two IndexOutOfBoundsException
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3679 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 06:35:16 +00:00
Tom Copeland
b90393cb24 Ditto AccessorClassGeneration
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3678 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 06:23:22 +00:00
Tom Copeland
9d0fba8504 .ConstructorCallsOverridableMethod can just skip enums - for now, at least
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3677 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 06:21:56 +00:00
Tom Copeland
7db3629f92 Another PMD article
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3676 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 05:55:50 +00:00
Tom Copeland
5dbe28a4f3 make that eweek
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3675 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 05:45:02 +00:00
Tom Copeland
b54b406a28 More shilling
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3674 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 05:44:44 +00:00
Tom Copeland
2c431f8390 Found a new article; good times
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3673 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 05:39:22 +00:00
Tom Copeland
4383ac3579 Fixed bug 1235300 - NullAssignment no longer flags assignments to final fields.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3672 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 05:25:52 +00:00
Tom Copeland
05e44971c0 Import cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3671 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 05:03:04 +00:00