2033 Commits

Author SHA1 Message Date
Tom Copeland
f86c37b164 Cleaned up imports; cleaned up more tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1918 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-12 16:57:40 +00:00
Tom Copeland
c7447f09ef Cleaning up tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1917 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-12 16:09:17 +00:00
Tom Copeland
4911abc0cb Added source files and such for IdempotentOperationsRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1916 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-12 13:20:05 +00:00
Gunnlaugur Thor Briem
4158ec17f6 Removed IdempotentOperationsRule ... class does not exist.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1915 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-11 17:03:40 +00:00
Tom Copeland
89da537c64 Removed simple name - last time I only removed the fully qualified name, doh!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1914 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-10 19:55:21 +00:00
Gunnlaugur Thor Briem
8331e25dea Improved PMD execution error reporting
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1912 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-10 12:08:38 +00:00
Gunnlaugur Thor Briem
ca872ed4c7 Added convenience constructor to Fault, which forms the fault message
from a PMDException.

Improved handling of PMD errors: when failing with a PMDException, the
Fault now specifies the PMDException's reason.

Also pops up a dialog with the exception details and logs it to ide.log
(encourages people to submit bugs to us, and I doubt that they mind too
much ... at least when this module is in a 0.x version :)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1911 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-10 12:05:52 +00:00
Gunnlaugur Thor Briem
527955199a Fixed error due to violation of undocumented assumption in
SimpleNode.jjtGetChild (was throwing NullPointerExceptions
like confetti :)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1910 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-10 11:38:41 +00:00
Gunnlaugur Thor Briem
24916d4be2 Clarified javadocs to help prevent errors like the one that just snuck
into ConstructorCallsOverridableMethodRule (ideally contract should be
clarified for most of these methods, to aid rule implementers ...)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1909 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-10 11:37:07 +00:00
Gunnlaugur Thor Briem
915bc0a460 Trivial: cleaned up long line and multiple System.getProperty calls
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1908 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-10 11:34:33 +00:00
Gunnlaugur Thor Briem
c795ca9063 Made jar target depend on compile target (don't know why it didn't!)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1907 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-10 11:33:19 +00:00
Tom Copeland
dcff6d4347 Fixed bug that reported false positive on method invocations on literals
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1906 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-09 19:44:34 +00:00
Tom Copeland
67aae5382b Fixed bug that reported false positive on method invocations on literals
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1905 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-09 19:31:11 +00:00
Tom Copeland
26eea9ebe5 Added test to expose bug in ConstructorCallsOverridableMethodRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1904 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-09 19:12:31 +00:00
Tom Copeland
7950315041 Added test to expose bug in ConstructorCallsOverridableMethodRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1903 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-09 19:04:40 +00:00
Tom Copeland
9271586e6d Removed LinkedList from LooseCoupling classes list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1902 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-09 18:27:35 +00:00
Tom Copeland
a3d5e7e192 Fixed nested classpath bug
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1901 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-09 16:04:52 +00:00
Tom Copeland
61fb88968a Cleaned up imports; deleted some commented out code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1900 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-09 14:07:47 +00:00
Tom Copeland
a604f14bc5 Implemented Randall's 'check all open buffers' suggestion
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1899 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-09 14:07:02 +00:00
Jiger Patel
6fdc6c808f Removed some debugging sout's
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1898 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-09 05:55:49 +00:00
Tom Copeland
07648381ff More test cleanups
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1897 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 19:43:59 +00:00
Tom Copeland
2cef21022c Test cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1896 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 16:28:54 +00:00
Tom Copeland
2adeac8bf7 Cleaned up some more tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1895 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 16:04:32 +00:00
Tom Copeland
cbd6d6cdb1 Added PHP support to CPD
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1894 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 15:39:13 +00:00
Tom Copeland
6da0063920 Added PHP support to CPD
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1893 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 15:30:02 +00:00
Tom Copeland
d7b0b89d81 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1892 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 14:44:06 +00:00
Tom Copeland
89b7b567b7 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1891 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 14:38:19 +00:00
Tom Copeland
11ded2a156 Latest jobs files
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1890 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 14:37:31 +00:00
Tom Copeland
6b25407981 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1889 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 14:35:46 +00:00
Tom Copeland
00f2d7aa31 To Linux and beyond!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1888 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 14:27:13 +00:00
Tom Copeland
29ee09e7a0 To Linux and beyond!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1887 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-08 14:19:30 +00:00
Tom Copeland
758d9182e0 Fixed bug; thanks to Randall Schultz for the report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1886 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-07 21:11:07 +00:00
Gunnlaugur Thor Briem
9a22010da5 Fixed logos taken from the respective websites ... the
previous versions were messed up at least in my browser.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1885 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-07 14:36:37 +00:00
Tom Copeland
e2927156eb Various tweaks to the PMD Swing UI thanks to Niels Peter Strandberg
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1884 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-07 14:06:58 +00:00
Gunnlaugur Thor Briem
0046fdb832 Added credits entry for RefactorIT
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1883 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-07 12:12:33 +00:00
Jiger Patel
88a6ef01ee Updated docs to New features introduced since 2.0
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1882 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-07 09:43:38 +00:00
Tom Copeland
aa82d04dfd Tweaked docs thanks to Ian Shef
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1881 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-30 18:48:27 +00:00
Tom Copeland
e6cccf2d0b Tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1880 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-30 13:49:07 +00:00
Tom Copeland
cd5ba51fc2 Tweaked ShortVariableRule to allow for short catch block names; thanks to Astro Jetson Jr for the code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1879 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-30 13:29:38 +00:00
Tom Copeland
af1dc32cd1 Test code refactorings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1878 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-29 17:11:13 +00:00
Tom Copeland
1daa5fd737 Test code refactorings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1877 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-29 16:10:56 +00:00
Tom Copeland
1952352008 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1876 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-29 16:05:50 +00:00
Tom Copeland
49f49c09cc Fixed typo
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1875 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-29 16:00:55 +00:00
Tom Copeland
889cac77b9 Added new FinalFieldCouldBeStatic rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1874 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-29 15:40:59 +00:00
David Dixon-Peugh
9f81b4e75e Fixed the Standard Deviation. Although Excel seems to calculate it differently.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1873 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-29 00:13:07 +00:00
Tom Copeland
255fdcc8d4 test cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1872 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-28 21:24:55 +00:00
Tom Copeland
d8465ede98 Test cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1871 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-28 21:16:27 +00:00
Tom Copeland
4a5372f840 Implemented FinalizeShouldBeProtected
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1870 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-28 19:48:50 +00:00
Tom Copeland
56d6991063 Added FindBugs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1869 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-28 19:08:49 +00:00
Tom Copeland
b959baf891 Changed XPath query widgit to a textarea
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1868 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-28 17:57:33 +00:00