Java 7 changes and some compiler warnings fixed
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
/**
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
package net.sourceforge.pmd;
|
||||
|
||||
import java.util.Arrays;
|
||||
@ -17,7 +20,7 @@ public class LanguageVersionTest extends AbstractLanguageVersionTest {
|
||||
}
|
||||
|
||||
@Parameters
|
||||
public static Collection data() {
|
||||
public static Collection<Object[]> data() {
|
||||
return Arrays.asList(new Object[][] {
|
||||
{ FortranLanguageModule.NAME, FortranLanguageModule.TERSE_NAME, "", LanguageRegistry.getLanguage(FortranLanguageModule.NAME).getDefaultVersion() }
|
||||
});
|
||||
|
Reference in New Issue
Block a user