runelite-client: close properties input stream

This commit is contained in:
Adam
2018-06-16 13:06:01 -04:00
parent 3ad62abed5
commit d0a5b5c829

View File

@@ -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);
}