2528 Commits

Author SHA1 Message Date
Tom Copeland
8355454234 New clone rules from Matt Inger; new clone ruleset
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2745 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-14 15:19:58 +00:00
Tom Copeland
40d4c16e68 Putting together the new 'clone' ruleset
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2744 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-14 15:04:08 +00:00
Tom Copeland
8214e93c22 Putting together the new 'clone' ruleset
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2743 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-14 14:58:33 +00:00
Tom Copeland
a3422748dc Implemented RFE 958714: Private field and local variables that are assigned but not used are now flagged as unused
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2742 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-08 18:59:47 +00:00
Tom Copeland
9698ed3873 A little test cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2741 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-08 14:16:31 +00:00
Tom Copeland
0c2fc3e27d More credits, word
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2740 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-07 15:57:04 +00:00
Tom Copeland
d9a2906285 Added Morgan Schweer's clever Javascript highlighter
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2739 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-07 15:54:11 +00:00
Tom Copeland
3b191c2b90 Tightened up the conditions under which isFoo() is allowed
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2738 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-04 14:23:58 +00:00
Tom Copeland
cedaee6781 Fixed bug 962782 - BeanMembersShouldSerializeRule no longer reports set/is as being a violation.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2737 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-03 21:41:12 +00:00
Tom Copeland
36796de755 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2728 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-02 20:55:20 +00:00
Jiger Patel
f2e364dfc8 Minor label additions.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2727 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-02 09:11:14 +00:00
Tom Copeland
055714a475 Added support for postfix expressions, albeit via the StatementExpression node.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2726 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-01 20:43:00 +00:00
Tom Copeland
e561dc6d83 Added support for postfix expressions, albeit via the StatementExpression node.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2725 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-01 20:28:00 +00:00
Tom Copeland
60ceeead96 New article
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2724 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-01 13:58:16 +00:00
Gunnlaugur Thor Briem
541802b466 Require restart, to work around the "Unrecognized settings" bug.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2722 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-28 09:13:23 +00:00
Gunnlaugur Thor Briem
0b5a2f8f3a Miscellaneous snurfussing (cleanup) incl. imports and some minor removal
of extraneous whitespace (mostly wherever I was changing something anyway)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2721 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-28 02:06:26 +00:00
Gunnlaugur Thor Briem
9e9eaa9e3f Tidier build configuration and support for deploying directly into a
NetBeans installation, a la Radim Kubacki's NB trunk build patch. This
simplifies the build-and-test cycle.

Haven't yet applied the full patch; I intend to branch apart NB 3.6 and
NB trunk, since changes in code will be necessary to support NB trunk.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2720 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-27 01:06:50 +00:00
Philippe Herlin
5ede79461b Upgrading to PMD 1.8: adding finalizers ruleset to the default rulesets list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2719 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-26 15:55:23 +00:00
Gunnlaugur Thor Briem
4179a4b874 Forgot to add this one for previous commit; extracted common base class
for AvailableListModel and SelectedListModel (just a cleanliness thing)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2718 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-26 10:12:42 +00:00
Gunnlaugur Thor Briem
d5a3127e58 Hefty commit, see CHANGES.txt; should have split into smaller commits
but won't go to that effort now (sorry!)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2717 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-26 10:04:37 +00:00
Tom Copeland
e12e9df7bc post rls
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2716 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-25 18:52:18 +00:00
Tom Copeland
d001d17e59 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2714 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-25 18:40:07 +00:00
Tom Copeland
72ea2c9f08 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2712 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-25 18:36:54 +00:00
Tom Copeland
a7e0bc028c Cleaned up MockRule - removed a lot of unneeded methods and fields. Made AbstractRule fields protected vs private so that MockRule could use them.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2711 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-25 15:15:36 +00:00
Tom Copeland
bbef427372 Implemented RFE 743460: The XML report now contains the ruleset name
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2710 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-25 14:06:56 +00:00
Andrey Lumyanski
729106bf9d no message
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2708 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-24 19:52:52 +00:00
Tom Copeland
b4371bf620 Added a page on future directions
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2707 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-24 18:20:35 +00:00
Tom Copeland
8b611726f8 2 more projects
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2706 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-24 15:48:04 +00:00
Tom Copeland
0d43016047 Added Andrei to various pages
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2705 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-24 14:42:37 +00:00
Tom Copeland
b8d30c428e Minor tweaks to make things look nicer
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2704 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 20:07:25 +00:00
Tom Copeland
06cb96e447 More optimizations thanks to IDEA
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2703 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 20:06:49 +00:00
Tom Copeland
5dbf29f2ac More optimizations thanks to IDEA
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2702 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 19:55:21 +00:00
Tom Copeland
5275620f8d A couple more optimizations thanks to IDEA
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2701 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 19:26:07 +00:00
Tom Copeland
32efa57373 Removed constant condition, thanks IntelliJ IDEA!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2700 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 18:53:38 +00:00
Tom Copeland
f488214794 Removed a couple of unnecessary casts
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2699 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 16:23:56 +00:00
Tom Copeland
a41858f2f8 Fixed some stuff PMD found; moved DocumentNavigator test code in there
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2698 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 15:37:35 +00:00
Tom Copeland
9d1af2b7a5 Added some more debug info
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2697 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 14:52:34 +00:00
Tom Copeland
aacf47e2b4 Import cleaning
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2696 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 14:43:28 +00:00
Tom Copeland
2e45401a79 Simplified test a bit
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2695 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 14:42:19 +00:00
Tom Copeland
5e85b4663f Minor optimization to EmptyCatchBlock
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2694 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-21 13:47:44 +00:00
Jiger Patel
8c29e1f879 Updated to PMD 1.8
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2693 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-20 05:57:32 +00:00
Tom Copeland
363f5f7cc8 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2691 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-19 18:22:32 +00:00
Tom Copeland
9920a112ff rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2690 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-19 18:22:20 +00:00
Tom Copeland
dbbd3dba07 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2689 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-19 18:21:53 +00:00
Tom Copeland
a696f39349 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2688 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-19 18:14:57 +00:00
Tom Copeland
755564bf81 Implemented OptimizableToArrayCallRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2687 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-18 19:23:57 +00:00
Tom Copeland
360cc4c025 Minor docs tweaking
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2686 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-18 18:17:53 +00:00
Tom Copeland
dc74244b5e Added two new rules from Will Sargent
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2685 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-18 18:06:51 +00:00
Tom Copeland
e0e116305d AdditiveExpression nodes are in the AST now
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2684 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-17 17:54:07 +00:00
Tom Copeland
15606be898 Implementing Mike's Double.NaN suggestion
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2683 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-17 16:10:00 +00:00