runelite-client: close properties input stream
This commit is contained in:
@@ -50,9 +50,7 @@ public class RuneLiteProperties
|
||||
@Inject
|
||||
public RuneLiteProperties()
|
||||
{
|
||||
final InputStream in = getClass().getResourceAsStream("runelite.properties");
|
||||
|
||||
try
|
||||
try (InputStream in = getClass().getResourceAsStream("runelite.properties"))
|
||||
{
|
||||
properties.load(in);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user