Commit Graph
6488 Commits
Author SHA1 Message Date
Brian Remedios d897b5104b Updated TODO section of changelog
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7368 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-30 02:32:55 +00:00
Andreas Dangel 7d1c10cbe2 Added license info to pom.xml, extended next release howto for maven
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7367 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-29 19:00:01 +00:00
Andreas Dangel 93f9d6760b patch 3130615: fix xpath rule to consider the correct if-condition.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7358 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-26 19:49:41 +00:00
Andreas Dangel 7868131b5c Added checkstyle config for eclipse checkstyle plugin 5.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7357 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-26 19:41:52 +00:00
Andreas Dangel 7275c9f0be Applied patch 3013807: DoNotCallSystemExit through Runtime. Thanks to Steven Christou.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7356 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-26 19:41:32 +00:00
Andreas Dangel 165bb3a24c Applied patch 3130615: New Rule GuardDebugLogging for jakarta-commons logging. Thanks to Tammo van Lessen.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7355 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-26 19:40:51 +00:00
Brian Remedios 73c258e712 display boolean values in AST
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7354 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-26 06:14:14 +00:00
Romain Pelisse 7d026e717d add patch 3155140 to changelog
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7351 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 20:05:04 +00:00
Romain Pelisse 24f744c50a add last patch to changelog
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7350 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 19:40:12 +00:00
Andreas Dangel c17394ad4f Applied patch 3155140: Exclude boolean getters (is*) from
TooManyMethods rule. Thanks to Riku Nykanen.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7349 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 16:43:36 +00:00
Andreas Dangel a6d3fc0c6e Removed duplicated rule definition.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7348 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 16:42:59 +00:00
Andreas Dangel 95fcf1260b Enabled more unit tests for regression.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7347 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 16:42:39 +00:00
Brian Remedios 27e8668ba0 misc cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7346 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 04:00:29 +00:00
Brian Remedios 5fe7f691e9 StringBuffer -> StringBuilder switchovers, refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7345 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 03:59:28 +00:00
Brian Remedios 70f6cf2def StringBuffer -> StringBuilder switchovers
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7344 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 03:58:24 +00:00
Brian Remedios 1ed5e370a7 misc cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7343 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 03:57:33 +00:00
Brian Remedios 84b0547cd7 StringBuffer -> StringBuilder switchovers
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7342 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 20:50:43 +00:00
Romain Pelisse f92bdcc9bd applied patch 2828099 : Designer's bug 'Create XML Rule', thanks to Andy Throgmorton
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7341 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 19:49:13 +00:00
Romain Pelisse 74d84945b8 whitelines, re indent (removes tab)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7340 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 19:48:48 +00:00
Brian Remedios 8be45bd369 StringBuffer -> StringBuilder switchovers, refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7337 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 10:12:46 +00:00
Brian Remedios f6d5d565d1 restore static var, tighten property validation for AvoidDuplicateLiteralsRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7336 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 09:32:02 +00:00
Brian Remedios 03196e88b2 Improved resource handling, better living through utility methods ;)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7335 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 09:20:22 +00:00
Brian Remedios e13e441d96 bugfixes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7334 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 07:39:37 +00:00
Brian Remedios 571dc30668 StringBuffer -> StringBuilder switchovers
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7333 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 05:32:54 +00:00
Brian Remedios e8559f48ec rm unreferenced/duplicate code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7332 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 05:28:21 +00:00
Brian Remedios a85a9cd3c5 StringBuffer -> StringBuilder switchovers
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7331 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 05:15:06 +00:00
Romain Pelisse 344c331f65 add missing link to typeresolution rulesets
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7330 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 00:57:24 +00:00
Romain Pelisse 85cc2b5a10 applied patch 2996539 : Add support for C# to CPD (simple parser)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7328 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 00:30:19 +00:00
Brian Remedios 32bbd35037 StringBuffer -> StringBuilder switchovers.
This class needs further cleanup, rather cheezy

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7326 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 00:03:23 +00:00
Romain Pelisse cf801267c1 adding Andy Throgmorton to the contributor list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7322 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 23:54:43 +00:00
Romain Pelisse 4d20daf2e3 applied patch 2829888 : New rule: Calling Thread.run() - thanks to Andy Throgmorton
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7321 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 23:54:25 +00:00
Romain Pelisse ee738e5d89 whitespaces and indent
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7320 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 23:53:47 +00:00
Romain Pelisse 9102b422bf apply patch 3084292: character reference in xml report - thanks to Seko
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7319 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:55:34 +00:00
Romain Pelisse 275fcc6def clean designer script
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7316 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:32:20 +00:00
Romain Pelisse b0a1246536 clean bgastviewer.sh script
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7315 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:32:03 +00:00
Romain Pelisse bbd6605f3f removes another rather useless script - IDE, Maven and Ant can do this for you
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7314 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:31:46 +00:00
Romain Pelisse 62dda9ef0e delete now useless script wrapping scp
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7313 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 16:06:39 +00:00
Romain Pelisse 4a38a850fa clean PMD run script
Also port the settings of java's heapsize, using a env var, from the CPD run script

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7312 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 16:05:59 +00:00
Romain Pelisse 8572a62429 clean CPD run script
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7311 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 15:41:24 +00:00
Romain Pelisse 799f7d6002 apply patch 3175832 from Cd-MaN: Add options to to the CPD command line task.
While applying the patch, I discover that properties where never really
 used and not passed down to the language implementation. In order to fix
that and keep the loose coupling we currently have, I used the system
properties.
Also did isolate that in a separate function and did a (little) code
cleaning.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7310 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 15:40:34 +00:00
Romain Pelisse 00c54d77b0 whitespaces
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7309 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 15:38:34 +00:00
Romain Pelisse ee7f23326b apply patch 3315807 from Ryan Pavlik:
add .hxx and .hpp as valid file extension for CPD

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7308 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 15:37:54 +00:00
Brian Remedios cb88e72aaf +contribution credit
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7307 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 07:17:26 +00:00
Brian Remedios 426b783d2b New XPath getCommentOn function as provided by Andy Throgmorton
https://sourceforge.net/tracker/?func=detail&aid=2833791&group_id=56262&atid=479923

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7306 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 06:57:43 +00:00
Brian Remedios e1cd730134 +changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7305 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 05:14:03 +00:00
Brian Remedios 2c900f6605 bugfix - how did I miss this one? urgh
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7304 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 05:02:26 +00:00
Brian Remedios 225332e8f1 Updated list of report renderers, NPE bugfix
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7303 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 05:01:27 +00:00
Brian Remedios 28e8c16e6f Support for checking code from working set selections. Contribution from Dominic:
http://sourceforge.net/tracker/?func=detail&atid=479923&aid=3137280&group_id=56262

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7302 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 04:59:42 +00:00
Brian Remedios 59bff0eea0 New report preferences page. Only saves active selections at the moment, all other settings are read-only.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7298 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-21 04:58:53 +00:00
Brian Remedios 9b4713f1ad updated buglist
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7297 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-21 04:26:07 +00:00