Move return outside use block

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 5 years ago
parent 46dd61fc5d
commit d61411571b
  1. 4
      deob-ast/src/main/java/dev/openrs2/deob/ast/gl/GlRegistryProvider.kt

@ -6,8 +6,8 @@ import javax.inject.Provider
class GlRegistryProvider : Provider<GlRegistry> {
override fun get(): GlRegistry {
Files.newInputStream(PATH).use { input ->
return GlRegistry.parse(input)
return Files.newInputStream(PATH).use { input ->
GlRegistry.parse(input)
}
}

Loading…
Cancel
Save