Commit Graph

4314 Commits

Author SHA1 Message Date
Xavier Le Vourch
0e2eb81fa6 Applied patch 1574988 - false + in OverrideBothEqualsAndHashcode
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4628 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-12 03:31:20 +00:00
Xavier Le Vourch
cf20efc5a6 Applied patch 1573981 - false + in CloneMethodMustImplementCloneable
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4627 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-12 03:22:07 +00:00
Tom Copeland
d0d04a8118 Added Xavier Le Vourch; welcome aboard Xavier!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4626 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-12 00:26:42 +00:00
Allan Caplan
9bb86a7325 https://sourceforge.net/forum/message.php?msg_id=3956007
CloseResource was looking for import java.sql.* - removed this check, since java.io checks might might have java.sql imports


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4625 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-11 14:54:16 +00:00
Brian Remedios
ce664ea5fe moved property retrieval to within constructor - bugfix
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4624 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-11 03:43:09 +00:00
Philippe Herlin
5240919b79 Fix other PMD warnings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4623 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 22:31:02 +00:00
Philippe Herlin
9417d666ea Review Sebastian code... and fix most PMD warnings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4622 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 22:19:59 +00:00
Philippe Herlin
0220fe980e Review Sebastian code... and fix most PMD warnings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4621 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 21:43:20 +00:00
Brian Remedios
337140049f refactored
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4620 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 05:48:29 +00:00
Brian Remedios
23f2e78266 faster contains() test using Sets
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4619 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 05:36:05 +00:00
Brian Remedios
9fd45540f6 faster contains() test using Sets
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4618 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 05:26:13 +00:00
Brian Remedios
17a19c9bae refactored to use new asSet utility method
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4617 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 05:22:33 +00:00
Brian Remedios
fa22ffead5 refactored asSet f'n into new CollectionUtil class
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4616 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 05:17:46 +00:00
Brian Remedios
67471afb6d added missing violation description
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4615 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 05:09:06 +00:00
Brian Remedios
95857a8b62 optimization in preparation for new property mgmt code: retrieving report level just once at startup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4614 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 05:05:00 +00:00
Brian Remedios
2ed04a9118 Vector -> ArrayList & import cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4613 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 04:55:19 +00:00
Brian Remedios
2e2c8b97af refactored, new generalized importsPackage(packageName) function in superclass
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4612 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 04:51:43 +00:00
Brian Remedios
c7e7048c5b optimized & refactored
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4611 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 04:45:57 +00:00
Brian Remedios
ff044bf2a4 append optimizations
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4610 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 04:30:13 +00:00
Brian Remedios
5f6dd18214 refactored, new isQualifiedName(SimpleNode) method
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4609 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 04:12:21 +00:00
Tom Copeland
1fab9a1a41 Oops, checked in a debugging version by mistake
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4608 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 04:06:55 +00:00
Tom Copeland
85e1b75ad2 A patch from Xavier Le Vourch to fix a missed hit in ProperCloneImplementation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4607 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 03:55:58 +00:00
Allan Caplan
65e1f026c1 1573591 - NonThreadSafeSingleton throws NullPointerException
Using this keyword messed things up - modified to use Wouter's suggestion, works nice


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4606 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-10 00:07:26 +00:00
Allan Caplan
0e9d2882d5 1573795 - PreserveStackTrace throws ClassCastException
Code didn't take into account throws with 0 args. Fixed.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4605 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-09 23:59:00 +00:00
Philippe Herlin
de958c06fa Fix mistake in CVS tags (double $$)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4604 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-09 13:32:47 +00:00
Philippe Herlin
a71f46c4f6 Review Sebastian code... and fix most PMD warnings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4603 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-09 13:26:41 +00:00
Tom Copeland
f56fbfb39f Shifting to JDK 1.4, w00t!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4602 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-09 01:53:05 +00:00
Allan Caplan
c2f659764f Applied patch 1551189 - SingularField false + for initialization blocks from Xavier
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4601 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-09 00:17:43 +00:00
Allan Caplan
320e5289a3 Implemented patch 1377773 - UseMathConstants From Fabio
Renamed rule(s) to BigIntegerInstantiation to maintain consistency with BooleanInstantiation, placed in basic ruleset.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4600 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-09 00:11:23 +00:00
Philippe Herlin
360f19c4b9 Review Sebastian code... and fix most PMD warnings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4599 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-08 23:11:06 +00:00
Philippe Herlin
cd1cc410f7 Fix last Java warnings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4598 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-08 22:19:34 +00:00
Philippe Herlin
257bafc573 Finally remove the Java Nature of the pmd-eclipse project
Fix last warnings on build.properties


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4597 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-08 22:10:29 +00:00
Philippe Herlin
b8fe282b90 Revert pmd-eclipse project to a Java Project to fix build path errors
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4596 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-08 22:01:38 +00:00
Philippe Herlin
f3935e6fda Fix build.properties warnings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4595 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-08 21:54:05 +00:00
Philippe Herlin
000563f64d Integrate Sven updates
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4594 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-07 16:01:51 +00:00
Philippe Herlin
299753fa54 Release v3.1.7
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4592 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 20:58:33 +00:00
Philippe Herlin
ba87784473 Fix 1486390 Exception during execution
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4591 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 20:13:28 +00:00
Philippe Herlin
e2f5cd875e Fix 1481300 plugin throws NPE after move prjs to new workspace
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4590 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 20:08:43 +00:00
Philippe Herlin
4141ec8f03 Fix 1470080 NPE in PMDRecord.findResource
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4589 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 19:46:32 +00:00
Philippe Herlin
0238b3da21 Fix 1470054 Violation Details dlg has OK button which does nothing
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4588 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 19:39:21 +00:00
Philippe Herlin
7b6b8c028b Fix 1554639 Clear markers in Project JAVA-files and other bugs related to dataflows
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4587 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 18:42:59 +00:00
Philippe Herlin
3dc02a64a1 Fix 1541795 No more handles on Violation Outline View
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4586 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 18:40:44 +00:00
Allan Caplan
c6471f8d7c Fixed CSVRenderer - had flipped line and priority columns
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4585 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 17:31:09 +00:00
Philippe Herlin
b78fa09526 Upgrade to PMD v3.8
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4584 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 17:08:46 +00:00
Radim Kubacki
cc25ee66fe 1.8 will be next version
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4582 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 17:05:20 +00:00
Radim Kubacki
d899a52fb9 few tweaks in logging
#77130: start rescan if it is turn on in options dialog


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4581 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 17:03:27 +00:00
Philippe Herlin
74fff927b5 Fix NullPointer exception when searching for quickfixes on rules from a project ruleset.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4580 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 16:51:02 +00:00
Philippe Herlin
38aca4dafe Continue refactoring of rullesets management
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4579 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 16:42:47 +00:00
Radim Kubacki
245a4e1d4b updating to PMD-3.8
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4578 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 16:18:08 +00:00
Tom Copeland
39de8e5d69 Bugfix from Xavier Le Vourch
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4577 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 03:56:29 +00:00