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