Fabio Insaccanebbia's implementation of UseArraysAsList in the optimizations ruleset, thanks Fabio!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4067 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -14,6 +14,8 @@ public class UseArraysAsListTest extends SimpleAggregatorTst {
|
||||
rule = findRule("optimizations", "UseArraysAsList");
|
||||
}
|
||||
|
||||
// FIXME should be able to catch case where Integer[] is passed
|
||||
// as an argument... but may need to rewrite in Java for that.
|
||||
public void testAll() {
|
||||
runTests(new TestDescriptor[] {
|
||||
new TestDescriptor(TEST1, "failure case", 1, rule),
|
||||
|
Reference in New Issue
Block a user