Merge branch 'headless-remove-type-args-in-jar-sorting-algorithm' into 'master'

Remove redundant type args in briar-headless/build.gradle

See merge request briar/briar!1416
This commit is contained in:
akwizgran
2021-03-23 12:38:53 +00:00

View File

@@ -76,7 +76,7 @@ void jarFactory(Jar jarTask, jarArchitecture) {
JarFile srcJarFile = new JarFile(srcFile)
OutputStream destStream = new JarOutputStream(new FileOutputStream(jar))
// Read and sort the entries
Map<String, JarEntry> entries = new TreeMap<String, JarEntry>()
Map<String, JarEntry> entries = new TreeMap<>()
for (JarEntry e : list(srcJarFile.entries())) entries.put(e.getName(), e)
// Write the sorted entries
for (JarEntry srcEntry : entries.values()) {