Tom Copeland
1639f8323c
Import scrub, migrated test to new grammar
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3342 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 22:04:13 +00:00
Tom Copeland
487425bcff
Fixed LoggerIsNotStaticFinal
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3341 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 21:58:08 +00:00
Tom Copeland
faf4f8c5cb
Fixed MoreThanOneLogger
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3340 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 21:55:50 +00:00
Tom Copeland
20d333bdad
Fixed AvoidCatchingNPE
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3339 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 21:48:57 +00:00
Tom Copeland
6e0f03a8f3
Fixed AvoidCatchingThrowable
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3338 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 21:45:04 +00:00
Tom Copeland
a29d62049b
Fixed AvoidThrowingCertainExceptionTypes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3337 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 21:41:38 +00:00
Tom Copeland
edf79e523d
Fixed ExceptionAsFlowControl to work with new grammar
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3336 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 21:34:33 +00:00
Tom Copeland
858908a769
AvoidConcatenatingNonLiteralsInStringBuffer works with the new grammar now
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3335 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 21:24:48 +00:00
Tom Copeland
d35c89a5b8
StringInstantiation works with the new grammar now
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3334 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 21:19:23 +00:00
Tom Copeland
bdaacb65c3
StringToString works with the new grammar now
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3333 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 21:12:31 +00:00
Tom Copeland
1d8de6b34e
Fixed bug 797742 - PMD now parses JDK 1.5 source code. Note that it's not perfect yet; it fails on some generics/annotations/enums. More testing and bug reports are welcome!
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3332 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 20:23:28 +00:00
Miguel Griffa
9cc57fd3ea
IPositionProvider refactor
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3331 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 17:08:46 +00:00
Miguel Griffa
8cc02c8e05
interface for refactor of position providers
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3330 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 16:47:55 +00:00
Miguel Griffa
d4d473a5e2
report violation in node instead of line number
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3329 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 15:51:24 +00:00
Miguel Griffa
f0134af904
report violation in node instead of line number
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3328 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 15:30:51 +00:00
Miguel Griffa
6f70ad2941
report violation in node instead of line number
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3327 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 15:23:15 +00:00
Miguel Griffa
fe333683ad
added methods with Node param for rule violations where the methods had lineNumber
...
@depreacted was added pointin to the new method,
it is still to be defined if the future of decpreacted (eg: find valid uses or erase them)
I tagged them as deprecated to easily find usage and see if Node can be used
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3326 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 15:17:48 +00:00
Miguel Griffa
9ad918bfac
adding support to set column information
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3325 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-08 14:56:19 +00:00
Miguel Griffa
b92c1641e7
added fields to support column information in rule violation
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3324 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-04 18:01:30 +00:00
Tom Copeland
79dfc9578f
Oops, missing a ruleset from the nav menu
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3323 51baf565-9d33-0410-a72c-fc3788e3496d
2005-03-03 14:38:52 +00:00
Miguel Griffa
ac529b752e
initial addition of faq report
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3322 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-28 15:14:09 +00:00
Miguel Griffa
75466a3cb4
addeed simple description
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3321 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-25 16:51:47 +00:00
Miguel Griffa
e3090aea03
implemented [ 1151317 ] too many fields in class
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3320 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-25 16:48:21 +00:00
Miguel Griffa
8debce6496
changed to use findRule
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3319 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-25 16:46:26 +00:00
Miguel Griffa
2519bcbee8
typo fix
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3318 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-24 15:23:50 +00:00
Tom Copeland
1d0f206f4b
*** empty log message ***
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3317 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-24 14:58:35 +00:00
Tom Copeland
8e2cdbe0bd
Tweaked some messages and whatnot
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3316 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-23 21:46:04 +00:00
Tom Copeland
94ec26d650
Fixed problem with handling interfaces
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3315 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-23 21:22:05 +00:00
Tom Copeland
403bf521a2
Fixed unreachable stmt
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3314 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-23 21:11:08 +00:00
Miguel Griffa
5d86efb01b
can't get the DFA panel to not appear initially yet
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3313 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-23 14:45:27 +00:00
Miguel Griffa
6ce92cbcc4
seems to need not to inherit jpanel, jcomponents is enough
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3312 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-23 14:39:17 +00:00
Miguel Griffa
9e3af5d6eb
Added a split panel on the top and resizing problems in the upper part were gone, at least for me, I hope for others too...
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3311 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-23 14:14:18 +00:00
Miguel Griffa
f059f36305
trying to simplify UI
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3310 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-23 13:43:38 +00:00
Miguel Griffa
b81fa7c479
minor changes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3309 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 21:07:04 +00:00
Miguel Griffa
15ba30c32b
tyying to simplify to improve UI
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3308 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 20:57:28 +00:00
Miguel Griffa
86ce085f03
added credits for Peter 'Bruno' Kofler
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3307 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 19:55:26 +00:00
Miguel Griffa
df012a251b
implemented [ 1145627 ] Class ends with Test but has no test cases
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3306 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 17:19:37 +00:00
Miguel Griffa
5aec5562aa
oops found test not using find rules
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3305 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 17:15:53 +00:00
Tom Copeland
fc075088e8
added another PMD backronym
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3304 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 16:17:35 +00:00
Miguel Griffa
40146a8a71
added test case for bug 985989
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3303 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 16:00:32 +00:00
Miguel Griffa
593dc8422a
removed {0} from message since the rule is XPath rule
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3302 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 15:51:03 +00:00
Miguel Griffa
0207ccc89f
use the {0} in message
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3301 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 15:49:45 +00:00
Miguel Griffa
8f65273b07
merged
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3300 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 15:11:25 +00:00
Miguel Griffa
9ff4fd0fb0
It wasn't easy...
...
fixed [ 994400 ] False +: ConstructorCallsOverridableMethodRule
thanks ereissner for reporting it
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3299 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 15:06:12 +00:00
Tom Copeland
f58fd5582a
A nice patch to add Ruby support to CPD; thanks to Zev Blut!
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3298 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 15:04:30 +00:00
Miguel Griffa
76fc9780cf
updating bug [ 1146116 ] JUnitTestsShouldIncludeAssert crashes on inner Interface
...
reported by Bruno
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3297 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 14:30:27 +00:00
Miguel Griffa
804a4c8868
fixed bug [ 1146116 ] JUnitTestsShouldIncludeAssert crashes on inner Interface
...
Thanks for reporting Bruno
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3296 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-22 14:28:43 +00:00
Miguel Griffa
106423e2a4
implemented [ 1122666 ] Abstract class does not contain an abstract method
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3295 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-21 17:03:37 +00:00
Miguel Griffa
50f4a7cc9d
added case with inner class
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3294 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-21 15:34:15 +00:00
Miguel Griffa
4512470595
implemented [ 1124783 ] Avoid giving non-constructor methods the same name as the class name
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3293 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-21 15:31:32 +00:00