6438 Commits

Author SHA1 Message Date
Brian Remedios
4f7aa7cc52 Accommodating property refactoring in PMD proper: Rule->PropertySource
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7296 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-21 04:22:57 +00:00
Brian Remedios
ec8c9e1e5b Modernizing: StringBuffer -> StringBuilder switchover
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7295 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-20 15:07:07 +00:00
Brian Remedios
04fcbeb2f8 Refactoring - pushed property mgmt functionality into new superclass now shared by the report renderers
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7294 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-20 05:42:37 +00:00
Brian Remedios
76e1fcbb6e bugfix - add missing </table>
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7293 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-20 04:03:19 +00:00
Brian Remedios
ad0ad24047 bugfix, minor cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7279 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-19 06:14:15 +00:00
Brian Remedios
c4f9f749e4 Report renderers now specify their default file extensions
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7278 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-18 20:24:05 +00:00
Andreas Dangel
c42b82d1e7 fixed some unit tests, updated index site, updated changelog
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7277 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-18 11:20:11 +00:00
Brian Remedios
7b81e56a3f updated, formatting. No functional changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7276 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 19:06:20 +00:00
Brian Remedios
c485378bbd updated, formatting. No functional changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7275 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 18:53:56 +00:00
Brian Remedios
1d082f773b refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7274 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 15:22:48 +00:00
Brian Remedios
6f2cce7b71 refactoring, cleanup - no functional changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7273 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 15:21:51 +00:00
Brian Remedios
28360da680 reduce complexity
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7272 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 04:39:08 +00:00
Brian Remedios
051aa506c6 reduce nesting, misc
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7271 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 04:27:20 +00:00
Brian Remedios
28e7d3ed8d return empty array instead of null
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7270 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 04:12:37 +00:00
Brian Remedios
44c2477dca Show error icon when selected rules have one or more problems
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7269 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-16 06:07:06 +00:00
Brian Remedios
290cda42aa Show error icon when selected rules have one or more problems
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7268 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-16 06:05:19 +00:00
Brian Remedios
c11832e723 NPE fix & misc
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7267 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-16 06:02:21 +00:00
Brian Remedios
11f5efc448 A much improved (IMHO) CPD viewer that optimizes the display of the various matches.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7266 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-16 05:49:49 +00:00
Brian Remedios
de631fc97b NPE fix under Windows
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7265 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-15 09:20:19 +00:00
Brian Remedios
5520f44fff NPE fix under Windows
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7264 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-15 09:18:54 +00:00
Brian Remedios
d8182d1d85 NPE fix under Windows
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7263 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-15 09:03:04 +00:00
Brian Remedios
bbcce8e236 import cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7262 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-15 05:58:36 +00:00
Andreas Dangel
23b313075f Fixing some unit tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7234 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-09 16:45:46 +00:00
Andreas Dangel
cdcecf6dff Added forking again for junit tests
- otherwise the classpath isn't correct for PMDTaskTest

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7233 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-06 18:11:36 +00:00
Andreas Dangel
507b23d234 fixed encoding issues in StringUtilsTest
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7232 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-02 19:45:44 +00:00
Brian Remedios
f96d7aff34 rm dead import
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7231 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 09:57:12 +00:00
Brian Remedios
b0324e9a4c AST view:
new Expand All button for tree
  new Filter menu can hide/show imports or comments in the AST tree


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7230 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 09:55:57 +00:00
Brian Remedios
0f7a0cce95 Updated credits
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7229 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 07:46:42 +00:00
Brian Remedios
25ee4f06d9 misc formatting
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7228 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 07:39:53 +00:00
Brian Remedios
73a26f2480 +Two new rules provided by Andreas Dangel: LawOfDemeter and GodClass
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7227 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 07:37:15 +00:00
Brian Remedios
a911c38a50 +utility method, updated Javadocs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7226 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 06:31:28 +00:00
Brian Remedios
dc4539ec88 encoding latin1 -> utf8
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7225 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 06:24:18 +00:00
Brian Remedios
94ebde3640 Escape character fix per Andreas
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7224 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 06:14:00 +00:00
Brian Remedios
1ebaefa815 A long overdue dogfood fix, convert interface fields to static class ones. - Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7223 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-26 05:54:39 +00:00
Brian Remedios
0a15ea3dc5 Dogfood fix patch for UselessParentheses - supplied by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7222 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-26 05:10:19 +00:00
Brian Remedios
43fb9dd783 Dogfood fix patches supplied by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7221 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-26 05:03:50 +00:00
Brian Remedios
ee77edf942 rm dead imports, formatting - from Andreas
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7220 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-26 04:51:21 +00:00
Brian Remedios
64aca869a1 private -> public method change
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7219 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 09:09:43 +00:00
Brian Remedios
17d1791f50 misc generics tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7218 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 08:54:50 +00:00
Brian Remedios
54229dcebb Augmented comments for bug #1415525 - Andreas Dangel
Code formatting tweaks

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7217 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 08:53:41 +00:00
Brian Remedios
94c6d6373a Fix for 261404 (LocalVariableCouldBeFinal) by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7216 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 08:45:25 +00:00
Brian Remedios
b9de61c666 Fix for UselessParentheses rule for unit test by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7215 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 08:33:39 +00:00
Brian Remedios
dc7a18aad2 Unused null check fix by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7214 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 08:27:16 +00:00
Brian Remedios
477abde64d coverage syntax fixes by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7213 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 08:20:59 +00:00
Brian Remedios
3c15bbc47a Match fix by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7212 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 08:14:11 +00:00
Brian Remedios
33be183753 test class path fix by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7211 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 07:46:59 +00:00
Brian Remedios
3d7faa7cd9 Fix for inner class extraction for anonymous types by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7210 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 07:41:47 +00:00
Brian Remedios
9af860c2ac Improved namespace treatment patch submitted by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7209 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 07:32:32 +00:00
Brian Remedios
2b444cd3db grammar lookahead patch submitted by Andreas Dangel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7208 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 07:22:56 +00:00
Brian Remedios
39be38a690 +TODO, NPE fix
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7207 51baf565-9d33-0410-a72c-fc3788e3496d
2011-07-31 06:41:56 +00:00