Merge branch '2.3.x' into 2.4.x

This commit is contained in:
Phillip Webb
2020-12-15 19:46:04 -08:00
6 changed files with 11 additions and 6 deletions

View File

@@ -643,7 +643,7 @@ class JarFileTests {
@Test
void iterator() {
Iterator<JarEntry> iterator = this.jarFile.iterator();
List<String> names = new ArrayList<String>();
List<String> names = new ArrayList<>();
while (iterator.hasNext()) {
names.add(iterator.next().getName());
}