3660 Commits

Author SHA1 Message Date
Tom Copeland
f43e931bbd Oops, restoring the more helpful error messages
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3826 51baf565-9d33-0410-a72c-fc3788e3496d
2005-09-02 20:48:10 +00:00
Tom Copeland
da0839d4f6 Fixed an 'unused private method' bug. Some false positives still exist... but, one does what one can.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3825 51baf565-9d33-0410-a72c-fc3788e3496d
2005-09-02 20:41:27 +00:00
Tom Copeland
1fbf8246c6 Added TODO for cases like Foo.this.super()
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3824 51baf565-9d33-0410-a72c-fc3788e3496d
2005-09-02 19:44:30 +00:00
Tom Copeland
052a4a533e import cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3823 51baf565-9d33-0410-a72c-fc3788e3496d
2005-09-02 19:36:22 +00:00
Tom Copeland
73064c0fef Modified UnusedMethod to use symbol table's tracking of method references. There are still some problems, but it's an improvement, and now enhancements are happening in the symbol table, which makes them available for other rules as well. Good times!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3822 51baf565-9d33-0410-a72c-fc3788e3496d
2005-09-02 19:30:50 +00:00
Tom Copeland
1d0d0a4acb Various notes here and there
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3821 51baf565-9d33-0410-a72c-fc3788e3496d
2005-09-02 15:08:33 +00:00
Tom Copeland
96d72206dc Fixed bug 695344 - StringInstantiation no longer triggers on the String(byte[]) constructor.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3820 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-30 21:16:08 +00:00
Tom Copeland
779181e4d2 Converting StringInstantiation to Java so's to make fixing bug 695344 easier. I hope.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3819 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-30 11:32:22 +00:00
Tom Copeland
ab63bb8c4b Oops, had broken a test
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3818 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-30 11:12:21 +00:00
Tom Copeland
0267cb8d88 Fixed a bug in CompareObjectsWithEquals; now it catches some local variable cases.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3817 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-30 11:02:32 +00:00
Tom Copeland
961e1cb9f1 Consolidating custom ruleset property docs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3816 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-30 10:54:06 +00:00
Tom Copeland
d195c13035 Added descriptions to other rules with properties
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3815 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-30 09:53:39 +00:00
Tom Copeland
895e015b85 Added an optional 'description' attribute to the 'property' element in the ruleset XML files.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3814 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-29 13:17:40 +00:00
Tom Copeland
839490a7fe Initial implementation of UnnecessaryCaseChange
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3813 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-27 00:30:07 +00:00
Tom Copeland
b6314fe8ff Added a new page just for PMD-related products and books
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3812 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-26 22:56:12 +00:00
Tom Copeland
cfd941ac9b Added note about customize rule property
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3811 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-26 10:55:48 +00:00
Tom Copeland
803a012db0 Added properties to autogenerated ruleset docs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3810 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-26 10:43:50 +00:00
Tom Copeland
e71338d3f6 Tweaking rule index formatting a bit
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3809 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-26 10:31:53 +00:00
Tom Copeland
5e23616186 Goodbye DAA since UselessAssignment is in the repo now
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3808 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-26 10:31:33 +00:00
Tom Copeland
31696efb78 Fixed bug 1244570 - AvoidConcateningNonLiteralsInStringBuffer no longer triggers on certain AST patterns involving local variable declarations inside Statement nodes.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3807 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-26 10:14:01 +00:00
Tom Copeland
7f033a0146 Fixed bug 1251269 - AvoidConcateningNonLiteralsInStringBuffer no longer triggers on StringBuffer constructors like 'new StringBuffer(1 + getFoo());'
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3806 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-26 00:10:22 +00:00
Tom Copeland
ff7795e03e Fixed bug 1245367 - ImmutableField no longer triggers on assignments in loops in constructors.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3805 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-25 10:16:58 +00:00
Tom Copeland
b7fbf99e16 Fixed bug 1250949 - The JDK 1.5 parser no longer chokes on AnnotationTypeMemberDeclaration with a default value.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3804 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-25 09:50:11 +00:00
Tom Copeland
82b96358d2 Fixed bug 1251256 - ImmutableField no longer skips assignments in try blocks on methods (which led to false positives).
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3803 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-23 17:57:53 +00:00
Tom Copeland
7e54f41986 oops, println
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3802 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-23 17:19:23 +00:00
Tom Copeland
4732704921 Mostly just reformatting and removing embedded CVS logs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3801 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-23 17:17:49 +00:00
Tom Copeland
9e4d19b4df *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3800 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-23 15:00:58 +00:00
Tom Copeland
be86b5b1cb Just reformatting code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3799 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-22 19:36:59 +00:00
Tom Copeland
80383f1476 Fixed bug 786629 - the plugin no longer displays a file name if there are no problems found.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3798 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-22 19:23:46 +00:00
Tom Copeland
92ac4db9ab *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3797 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-22 19:22:47 +00:00
Tom Copeland
34d1d65fd9 no need for this to be in CVS; it's generated
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3796 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-22 18:50:38 +00:00
Tom Copeland
b530cef42b Working on reducing some of the output
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3795 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-22 18:26:54 +00:00
Tom Copeland
cea3404ccd Added PackageCase and NoPackage to the naming ruleset; thanks to Peter Frandsen for the code!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3794 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-22 13:12:22 +00:00
Tom Copeland
259e4f17df Moving Andrey to the 'committers emeritus' list per my email to him; Andrey, thanks for your efforts with the Gel plugin!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3793 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-22 09:57:41 +00:00
Tom Copeland
21567786df Adding Boris' viewer back into the repository; as long as someone is using it, removing it is not good
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3792 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-21 19:37:08 +00:00
Tom Copeland
dcd9428de0 Tweaked some IDE install notes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3791 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-21 19:28:42 +00:00
Tom Copeland
d26be0d5d9 updating to pmd 3.2 and jbuilder foundation 2005
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3790 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-20 18:49:34 +00:00
Tom Copeland
2d5a9cfc6b Little formatting tweaks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3789 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-20 11:50:52 +00:00
Tom Copeland
e143fae621 Fixed bug 1245139 - TooManyFields no longer throws a ClassCastException when processing anonymous classes.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3788 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-18 10:57:14 +00:00
Tom Copeland
52e8001ea5 Added French docs translation from Noureddine Bekrar
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3787 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-16 21:22:21 +00:00
Tom Copeland
a4b69d0c04 More DFA cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3786 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-16 10:34:46 +00:00
Tom Copeland
aa8ef30029 Minor refactoring as I'm working with DFA; removed unused class
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3785 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-16 10:31:54 +00:00
Tom Copeland
e8ddb2e2bc Various tweaks as I'm working on IDE docs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3784 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-15 21:33:32 +00:00
Tom Copeland
fd686c2bf9 Various tweaks as I'm working on IDE docs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3783 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-15 21:28:51 +00:00
Tom Copeland
0b384a4d3c Removed various viewer remnants
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3782 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-15 20:03:07 +00:00
Tom Copeland
884a33e361 Migrated Boris' Viewer code over to a new module
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3781 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-15 19:56:15 +00:00
Tom Copeland
3a0c157ae9 Initial revision
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3778 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-15 19:51:41 +00:00
Tom Copeland
417ae695a7 Tweaking this and that as I'm working thru CPD
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3777 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-15 14:02:16 +00:00
Tom Copeland
c93c4c17aa A bit of refactoring and renaming as I continue to trace thru the DFA subsystem
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3776 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-14 11:11:10 +00:00
Tom Copeland
59e99148fd Minor tweaks here and there, continuing with 'PMD Internals' chapter of PMD Applied
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3775 51baf565-9d33-0410-a72c-fc3788e3496d
2005-08-14 01:51:25 +00:00