explicit types to diamonds
This commit is contained in:
@@ -52,7 +52,7 @@ public class DecompilerTestFixture {
|
||||
targetDir = new File(tempDir, "decompiled");
|
||||
assertThat(targetDir.mkdirs()).isTrue();
|
||||
|
||||
Map<String, Object> options = new HashMap<String, Object>();
|
||||
Map<String, Object> options = new HashMap<>();
|
||||
options.put(IFernflowerPreferences.LOG_LEVEL, "warn");
|
||||
options.put(IFernflowerPreferences.DECOMPILE_GENERIC_SIGNATURES, "1");
|
||||
options.put(IFernflowerPreferences.REMOVE_SYNTHETIC, "1");
|
||||
|
||||
@@ -118,7 +118,7 @@ public class SingleClassesTest {
|
||||
}
|
||||
|
||||
private static List<File> collectClasses(File classFile) {
|
||||
List<File> files = new ArrayList<File>();
|
||||
List<File> files = new ArrayList<>();
|
||||
files.add(classFile);
|
||||
|
||||
File parent = classFile.getParentFile();
|
||||
|
||||
Reference in New Issue
Block a user