1641 Commits

Author SHA1 Message Date
Gunnlaugur Thor Briem
13c8e43fd4 Applied patch 46921 for tracker item 716243
(fix NPE in pmd-netbeans) by initializing all
options with (seemingly sensible) defaults.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1712 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 19:00:13 +00:00
Gunnlaugur Thor Briem
77bcf4f674 Changed jaxen and saxpath references to make build work.
Presumably Tom (and whoever else was making pmd builds)
have these previous references fulfilled in their local
repositories, and they were since changed on ibiblio?
In any case, those dependencies are no longer fulfilled
by the ibiblio repository, hence this change.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1711 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 18:50:15 +00:00
Tom Copeland
2d47008550 Tweaked CPD Ant task to print a summary if no problems are found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1710 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 18:46:25 +00:00
Tom Copeland
b8cafe4f48 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1709 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 16:42:18 +00:00
Tom Copeland
34773a70bd Added Gunnlaugur Thor Briem to the committer list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1708 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 16:38:56 +00:00
Tom Copeland
e486ef0dfe Made error message clearer; thanks to Colin Simmonds for the bug report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1707 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 16:04:14 +00:00
Tom Copeland
7492529cad Made error message clearer; thanks to Colin Simmonds for the bug report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1706 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 16:02:12 +00:00
Tom Copeland
e249deb087 Fixed bug in the 'source code slice' logic
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1705 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 19:23:55 +00:00
Tom Copeland
a6dc42a493 Some minor refactoring - method renaming, removed an unnecessary check
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1704 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 19:14:22 +00:00
Tom Copeland
03c82b17a3 Fixed bug in MatchAlgorithm - a Mark should not include TokenEntry.EOF
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1703 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 18:15:33 +00:00
Tom Copeland
9c9884209d More tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1702 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 17:57:21 +00:00
Tom Copeland
53f0b3fc8d More tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1701 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 17:36:27 +00:00
Tom Copeland
da53c0e1dd More tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1700 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 16:52:43 +00:00
Tom Copeland
b8e16fd71d Refactoring report so that an IDE can get to the stuff it needs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1699 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 21:15:19 +00:00
Tom Copeland
e48a201e94 Refactoring report so that an IDE can get to the stuff it needs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1698 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 21:05:32 +00:00
Tom Copeland
caf4fbbe7b *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1697 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 15:43:58 +00:00
Tom Copeland
9caf68e785 Fixed another bug thx to Adam Nemeth
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1696 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 15:30:17 +00:00
Tom Copeland
b082a5a82d Fixed bug thx to Adam Nemeth
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1695 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 15:17:50 +00:00
Tom Copeland
6da91892c6 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1694 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 22:17:10 +00:00
Tom Copeland
a553f28419 Changed an attribute name on the CPD Ant task to make its purpose clearer
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1693 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 22:16:56 +00:00
Tom Copeland
e82483e5a8 a little more automation on the web site upload
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1692 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 21:15:17 +00:00
Tom Copeland
7886c6c79e Modified CPD Ant task to use FileSets; added a verbose attribute as well
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1691 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 21:11:42 +00:00
Tom Copeland
94f35ef853 hey, ncftpput takes n filenames as a parameter! sweet
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1690 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 20:39:41 +00:00
Tom Copeland
e0f8f0d2db imports cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1688 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 19:41:38 +00:00
Tom Copeland
d8a4cb00b7 Optimized saving properties - now that's done in one file access vs N (where N == number of rules)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1687 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 19:41:01 +00:00
Tom Copeland
10113cd426 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1686 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 16:57:24 +00:00
Tom Copeland
d649d4348d initial impl of saving rule settings to a central file
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1685 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 16:43:17 +00:00
Tom Copeland
7e5f6dc0ae halfway to getting settings to save in other location
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1684 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 16:19:28 +00:00
Tom Copeland
6e99fb264c Added a getMatches() to CPD
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1683 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 14:32:09 +00:00
Tom Copeland
d4e1330807 Various refactorings aimed towards getting rid of the redundant list of tokens. Not quite there yet, but getting closer
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1682 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-02 21:52:33 +00:00
Tom Copeland
c09291cf21 Refactored Match to allow for more than two marks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1681 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-02 19:33:26 +00:00
Tom Copeland
9446f97e93 Some minor refactorings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1680 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-02 15:56:51 +00:00
Tom Copeland
d07580130d Fixed line numbering bug; thanks to Jiger Patel for the report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1679 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-02 14:40:15 +00:00
Tom Copeland
4b5ebe3ee0 Added the ability to accept nested classpaths
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1678 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 21:27:05 +00:00
Tom Copeland
099f67ced7 0.2 release
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1677 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 17:54:02 +00:00
Tom Copeland
dbcdc25a7d rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1675 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 17:46:14 +00:00
Tom Copeland
f163c2ec7a Release preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1674 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 17:35:19 +00:00
Tom Copeland
13ea5cb7b4 updating jars
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1673 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 17:13:40 +00:00
Tom Copeland
a74b1957b2 Cleaned up PMD - LogWindow interaction
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1672 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 17:11:30 +00:00
Tom Copeland
4f15353d24 Now the PMD tab closes if there are no rule violations
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1671 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 16:59:57 +00:00
Tom Copeland
068a10f54f Some minor optimization to the generated parser - removed some unnecessary casts
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1670 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 16:32:30 +00:00
Tom Copeland
4cc9a396af Added new SimplifyBooleanExpressions rule; thx to Mike Thome for the suggestion
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1669 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 15:55:47 +00:00
Tom Copeland
1c9f272402 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1668 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 15:34:20 +00:00
Tom Copeland
85ef265a7e Add a few carriage returns to make CDATA blocks look nicer on the web site
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1667 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 03:08:18 +00:00
Tom Copeland
9bc48d11dd Fixed separators
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1666 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-01 03:05:12 +00:00
Philippe Herlin
2c918283cc Removing pmd-eclipse.jar from build classpath.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1665 51baf565-9d33-0410-a72c-fc3788e3496d
2003-03-31 22:13:38 +00:00
Ole-Martin Mork
58c0cdb7a4 done some work on realtime scanning. added some properties and stuff.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1664 51baf565-9d33-0410-a72c-fc3788e3496d
2003-03-31 21:57:17 +00:00
Tom Copeland
269658c010 Updated grammar - removed unneeded parameter from setPublic() and such.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1663 51baf565-9d33-0410-a72c-fc3788e3496d
2003-03-31 21:40:59 +00:00
Tom Copeland
606256d13e Updated grammar - removed unneeded parameter from setPublic() and such.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1662 51baf565-9d33-0410-a72c-fc3788e3496d
2003-03-31 21:16:46 +00:00
Tom Copeland
bd1740b6f4 Now you can pass in a full path to RuleTst
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1661 51baf565-9d33-0410-a72c-fc3788e3496d
2003-03-31 17:00:36 +00:00