3249 Commits

Author SHA1 Message Date
Tom Copeland
2eb65c2e9a Fixed bug 1205709 - PMD no longer takes a long time to report certain parsing errors.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3504 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-24 21:50:29 +00:00
Tom Copeland
96a1f4b3db new job
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3503 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-24 21:08:05 +00:00
Tom Copeland
add99eb2e4 Fixed docs, thx to Christopher Stach for the suggestion
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3502 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-20 00:22:48 +00:00
Tom Copeland
1ce6dbc648 Another fix from Dave Brosius, thx Dave!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3501 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-18 13:49:20 +00:00
Tom Copeland
fa8194db8b Fixed 'trigger on all interfaces that implement other interfaces' bug
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3500 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-17 14:45:31 +00:00
Tom Copeland
e27420674d Tightened up XML a bit
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3499 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-17 14:22:35 +00:00
Tom Copeland
0cd1105bb1 Added menu item for copying XML
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3498 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-17 13:52:29 +00:00
Tom Copeland
c028064425 Fixed bug 1201577 - PMD now correctly parses method declarations that return generic types.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3497 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-17 13:40:28 +00:00
Tom Copeland
64294520bf Some more code cleanups thx to Dave Brosius
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3496 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-16 12:55:31 +00:00
Jiger Patel
25eb6c0512 Updated to PMD 3.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3495 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-16 10:07:48 +00:00
Tom Copeland
c2cf9125e4 renaming
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3494 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-12 13:00:38 +00:00
Tom Copeland
6d2d4da866 Implemented RFE 1188369 - UnnecessaryBooleanAssertion now checks for things like 'assertTrue(\!foo)'. These should be changed to 'assertFalse(foo)' for clarity.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3493 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-11 23:38:47 +00:00
Tom Copeland
53c121dfef Implemented RFE 1188604 - AvoidThrowingCertainExceptionTypes has been split into AvoidThrowingRawExceptionTypes and AvoidThrowingNullPointerException.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3492 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-11 21:52:36 +00:00
Philippe Herlin
b3f1abb853 Fix new violations detected by PMD 3.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3491 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-10 21:49:29 +00:00
Tom Copeland
f0979d5979 post rls
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3490 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-10 20:32:33 +00:00
Tom Copeland
17974db7db rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3488 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-10 14:53:55 +00:00
Tom Copeland
4bbbd9b5e9 Fixed bug 1198832 - AbstractClassWithoutAbstractMethod no longer flags classes which implement interfaces since these can partially implement the interface and thus don't need to explicitly declare abstract methods.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3487 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-10 14:30:53 +00:00
Tom Copeland
55772c733d Fixed bug 1097256 - The XMLRenderer now supports optional encoding of UTF8 characters using the 'net.sourceforge.pmd.supportUTF8' environment variable.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3486 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-09 21:48:46 +00:00
Tom Copeland
2e4ed13c58 todo
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3485 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-09 21:16:23 +00:00
Tom Copeland
4a1ccad62e syncing up
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3484 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-09 21:14:37 +00:00
Tom Copeland
d67ce3ce64 oops
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3483 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-09 19:30:58 +00:00
Tom Copeland
c96d66a345 Implemented RFE 994338 - The msg produced by ConstructorCallsOverridableMethod now includes the offending method name.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3482 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-09 19:27:57 +00:00
Tom Copeland
d66cee5dbe Implemented RFE 1176401 - UnusedFormalParameter now flags public methods.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3481 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-09 19:12:29 +00:00
Tom Copeland
f39ec01e7a *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3480 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-09 13:29:38 +00:00
Philippe Herlin
a0d5264639 Releasing v3.0.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3479 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-07 13:46:39 +00:00
Philippe Herlin
0fe81952e1 Releasing v3.0.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3478 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-07 13:36:14 +00:00
Philippe Herlin
d9cc9f6356 Continuing refactoring
Fix some PMD violations
Fix Bug 1144793
Fix Bug 1190624 (at least try)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3477 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-07 13:32:06 +00:00
Tom Copeland
0ddb51c1be this and that
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3476 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-06 21:21:53 +00:00
Tom Copeland
b9f4523909 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3475 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-06 19:00:50 +00:00
Tom Copeland
b3a5fce797 Fixed bug 1196238 - UnusedImports no longer reports false positives for various JDK 1.5 java.lang subpackages.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3474 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 23:45:04 +00:00
Tom Copeland
ef1a0b72af test gardening
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3473 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 22:03:10 +00:00
Tom Copeland
b947f08308 Fixed wording, thx to broconne for the note
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3472 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 21:55:55 +00:00
Tom Copeland
5907b3ba13 Fixed bug 1190526 - TooManyFields now accepts a property setting correctly, and default lower bound is 15 vs 10.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3471 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 21:44:52 +00:00
Tom Copeland
2f353fa51f The continuing saga of: Fixed bug 1187325 - UnusedImports no longer reports a false positive on imports which are used inside an Annotation.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3470 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 20:41:10 +00:00
Tom Copeland
65303f17ef added a TODO
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3469 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 15:08:30 +00:00
Tom Copeland
8319634579 new project
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3468 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 14:25:15 +00:00
Tom Copeland
9d187c1099 Implemented RFE 1193979 - BooleanInstantiation now catches cases like Boolean.valueOf(true)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3467 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 14:15:17 +00:00
Tom Copeland
2a759150c3 oops, forgot to add the new node class
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3466 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 02:51:03 +00:00
Tom Copeland
30dbed0065 Fixed bug 1189720 - PMD no longers fails to parse generics that use 'member selectors'.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3465 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-05 00:04:20 +00:00
Tom Copeland
a25567f5b2 Fixed bug 1187325 - UnusedImports no longer reports a false positive on imports which are used inside an Annotation.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3464 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-04 22:04:06 +00:00
Tom Copeland
fbee89cfdf tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3463 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-02 20:37:36 +00:00
Tom Copeland
e1e2471b3c *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3462 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-29 02:40:25 +00:00
Tom Copeland
5dfcbaf15b Some tweaking to skip empty jobs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3461 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-29 02:40:13 +00:00
Tom Copeland
ddddfd1288 The latest tweaks of the 1.5 grammar
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3460 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-28 21:38:13 +00:00
Tom Copeland
d5c6a30827 Checking in SingularField, thanks to Eric Olander for the code!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3459 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-28 21:34:14 +00:00
Tom Copeland
2be8da860c Fixed bug 1188371 - AvoidInstantiatingObjectsInLoops no longer fires on instantiations in loops when the 'new' keyword is preceded by a 'return' or a 'throw'.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3458 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-28 21:09:26 +00:00
Tom Copeland
d20950f6b5 Fixed ruby-doom gem, updated pmd version, fixed directories
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3457 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-28 13:51:00 +00:00
Tom Copeland
5d24154efb On second thought, these nodes don't really need an image since they're just operator wrappers
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3456 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-27 23:22:55 +00:00
Tom Copeland
a104045fd7 Fixed bug 1190461 - UnusedLocal no longer misses usages which are on the RHS of a right bit shift operator.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3455 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-27 22:02:40 +00:00
Tom Copeland
6c08e8b76a Fixed bug 1190508 - UnnecessaryBooleanAssertion no longer fires on nested boolean literals.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3454 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-27 13:59:26 +00:00