mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user