Philippe Herlin
0445e005bc
Release v3.2.0
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4959 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-18 21:05:30 +00:00
Philippe Herlin
33e3df41d8
Fix several problems on memento usage
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4958 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-18 21:03:56 +00:00
Philippe Herlin
8b52679b95
Improve rule dialog
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4957 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-18 21:03:17 +00:00
Philippe Herlin
a29e5e1b74
Fix several cast and NPE exceptions
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4956 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-18 21:01:20 +00:00
Philippe Herlin
075015ade0
Add support for Java 6.0
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4955 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-18 21:00:23 +00:00
Philippe Herlin
33200450e8
Integrate PMD v3.9
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4954 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-18 20:59:45 +00:00
Wouter Zelle
e036922986
Fix for class arguments in the expressions that are checked for equality
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4953 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-18 17:50:36 +00:00
Xavier Le Vourch
33a6d45cd1
NoClassDefFoundError exception caught to prevent pmd from exiting on type resolver issues
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4952 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-18 01:23:55 +00:00
Allan Caplan
85b2f45b0b
Fixing 1636420 - false + in StringToString
...
Code wasn't looking at the target method. There are no String[].toString's in PMD, running on other sources surfaced this
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4951 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-18 01:15:07 +00:00
Xavier Le Vourch
f5195c01a7
latin1 encoding option for javac: warnings on Linux otherwise
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4950 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-16 23:53:13 +00:00
Xavier Le Vourch
9fba2a117d
code cleanup: PMD on PMD
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4949 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-16 01:08:58 +00:00
Sven Jacob
d35f00bdd5
violation overview was not updated in some cases... fixed
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4948 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-14 21:03:49 +00:00
Tom Copeland
ad55a35501
Ryan has commit now; welcome aboardgrep -rn egen src/
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4947 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-14 19:55:24 +00:00
Allan Caplan
482a505f68
Fixed bug 1627830 - False+ UseLocaleWithCaseConversions
...
The XPath was looking for any ArgumentCount==0, it should only look at one spot
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4946 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-14 02:16:38 +00:00
Allan Caplan
97faa6fe61
Fixed bug 1631646 - UselessOperationOnImmutable doesn't throw on variable.method().variable.
...
This defect falls under the bigger umbrella of issues around getUsages. A more global fix was eluding me - Fixing directly
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4945 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-14 01:44:30 +00:00
Allan Caplan
f308f8c4cc
1634078 - False positive in StringToString
...
StringToString rule wasn't taking arrays into account.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4944 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-13 03:55:30 +00:00
Allan Caplan
28e81e38e1
Fixed bug 1531216 - ImmutableField
...
NameOccurence did not detect this.x++ or ++this.x as a self-assignment, even though x++ or ++x was.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4943 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-13 03:05:27 +00:00
Xavier Le Vourch
32f881bb60
more benchmark changes from Ryan Gustafson
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4942 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-13 01:37:25 +00:00
Wouter Zelle
b381f76941
Fixes for 1633683. BrokenNullCheck now also catches problems if there is an equality expression in the offending code. The rule now also matches array literals in the expressions, for slightly greater accuracy. Some comments + cleanups too.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4941 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-12 22:11:55 +00:00
Xavier Le Vourch
632d65cb17
refactoring: ByRule suffix dropped
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4940 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-12 19:33:00 +00:00
Xavier Le Vourch
ca9602b1ab
code cleanup, extra comments, benchmark changes (patch from Ryan Gustafson)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4939 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-12 19:28:35 +00:00
Xavier Le Vourch
74acaa7dd8
rewrite of rule to allow chaining (patch from Ryan Gustafson)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4938 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-12 19:00:51 +00:00
Sven Jacob
1c7f22237f
changed cpd dialog title
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4937 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-12 13:26:39 +00:00
Xavier Le Vourch
ae332824a3
false + in CompareObjectsWithEquals for allocation expressions such as 'new File(b).exists() == false'
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4936 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-12 00:23:14 +00:00
Xavier Le Vourch
be6d20b76f
XPath rules are now chained together for an extra speedup in processing (patch from Ryan Gustafson)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4935 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-11 20:42:26 +00:00
Xavier Le Vourch
89bf798e71
use canonical form before getting absolute path
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4934 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-11 01:47:51 +00:00
Xavier Le Vourch
b9f84865d3
code cleanup
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4933 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-11 01:07:17 +00:00
Sven Jacob
dbac10139b
added descriptions for the properties of the dataflowanomalyanalysis rule
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4932 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-09 13:58:21 +00:00
Sven Jacob
eb2cc5ab3a
added url for dataflow anomaly analysis
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4931 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-09 13:47:26 +00:00
Tom Copeland
6bc6397ed6
Optimized lpad, thanks to Radim Kubacki for the code!
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4930 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-09 13:39:11 +00:00
Tom Copeland
d4d8d5be61
Checked in a much-improved benchmarking system; thanks to Ryan Gustafson for the excellent patch!
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4929 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-09 12:00:14 +00:00
Radim Kubacki
4070fe0569
no dependency on Jakarta-ORO
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4928 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-08 16:59:06 +00:00
Radim Kubacki
350bfbe658
version 1.9
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4926 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-07 12:08:24 +00:00
Tom Copeland
a17cfb76de
Moving up to Jaxen 1.1
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4925 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-07 11:23:20 +00:00
Sven Jacob
ea6862e541
disabled the experimental option since it can now be enabled over the DataflowAnomalyAnalysis rule
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4924 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-06 11:58:08 +00:00
Tom Copeland
315cd7f667
Access level back to public
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4923 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-05 21:45:38 +00:00
Radim Kubacki
19f212747f
wrong path for concurrent-util
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4922 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-05 17:50:55 +00:00
Radim Kubacki
de89727238
wrong path for jakarta-oro include
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4921 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-05 17:32:50 +00:00
Radim Kubacki
4f2cc27c9d
updating to pmd-3.9
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4920 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-05 16:59:08 +00:00
Allan Caplan
aba82176ff
Added descriptions and priorities for the NCSS rules
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4919 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-05 13:55:55 +00:00
Wouter Zelle
f5ee7bd3f1
Bugfix for 1626715. UseAssertSameInsteadOfAssertTrue now works for classes which use the null constant.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4918 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-03 17:52:23 +00:00
Wouter Zelle
b4c3b965d0
Tweak for Ryan's Java rule generator, should also make the rule slightly fater and more robust
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4917 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-03 17:50:40 +00:00
Wouter Zelle
8056367f7a
typo
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4916 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-03 17:46:49 +00:00
Allan Caplan
f7df1ce3d0
Fix test
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4915 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-03 13:17:37 +00:00
Allan Caplan
4f64aaa7a5
Applied patch 1612455 from Jason B
...
RFE 1411022 CompareObjectsWithEquals now catches the case where comparison is against new Object
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4914 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-03 02:45:46 +00:00
Wouter Zelle
dfd2dc3622
Tweak for Ryan's Java rule generator
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4913 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-02 21:58:07 +00:00
Wouter Zelle
6d578f87f9
Bugfixes for 1626232 and 1626201
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4912 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-02 18:14:00 +00:00
Wouter Zelle
9391aaba78
Broken null check rule rewritten to Java and now finds more problems
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4911 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-02 18:08:21 +00:00
Wouter Zelle
307e59391d
Fixed serious bugs in both commons logging rules (bug 1626232)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4910 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-02 18:01:13 +00:00
Tom Copeland
98762f13d6
Hm, somehow the xml|csv format handling got munged
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4909 51baf565-9d33-0410-a72c-fc3788e3496d
2006-12-29 05:55:41 +00:00