Type inference. Use autoboxing for int

This commit is contained in:
Anosh D. Ullenius
2022-06-17 20:33:00 +02:00
parent 258d85b934
commit 03ed2f52d1
4 changed files with 4 additions and 4 deletions
@@ -27,7 +27,7 @@ public class ClassPathTest
_firstJar = _folder.newFile("a.jar");
_secondJar = _folder.newFile("b.jar");
LinkedHashSet<File> classPathEntries = new LinkedHashSet<File>();
LinkedHashSet<File> classPathEntries = new LinkedHashSet<>();
classPathEntries.add(_firstJar);
classPathEntries.add(_secondJar);
_classPath = new ClassPath(classPathEntries);