Java 7 changes and some compiler warnings fixed

This commit is contained in:
Andreas Dangel
2015-11-25 22:06:18 +01:00
parent d7b5ef8884
commit fd2dcddc44
100 changed files with 387 additions and 387 deletions

View File

@ -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() }
});