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:
Tom Copeland
2005-12-14 23:03:56 +00:00
parent 526f835bf3
commit ec1d41be86

View File

@ -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),