Replace listOf() with emptyList()

I think this makes the meaning slightly clearer.
bzip2
Graham 5 years ago
parent 41dac20719
commit 099d9c591d
  1. 4
      deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt

@ -86,7 +86,7 @@ class Deobfuscator(private val input: Path, private val output: Path) {
val runtime = ClassLoader.getSystemClassLoader() val runtime = ClassLoader.getSystemClassLoader()
val classPath = ClassPath( val classPath = ClassPath(
runtime, runtime,
dependencies = listOf(), dependencies = emptyList(),
libraries = listOf(client, loader, signLink, unpack, unpacker) libraries = listOf(client, loader, signLink, unpack, unpacker)
) )
val glClassPath = ClassPath( val glClassPath = ClassPath(
@ -96,7 +96,7 @@ class Deobfuscator(private val input: Path, private val output: Path) {
) )
val unsignedClassPath = ClassPath( val unsignedClassPath = ClassPath(
runtime, runtime,
dependencies = listOf(), dependencies = emptyList(),
libraries = listOf(unsignedClient) libraries = listOf(unsignedClient)
) )

Loading…
Cancel
Save