configmanager: checkstyle

This commit is contained in:
Justin
2021-12-02 17:30:49 +11:00
parent 84d27b801c
commit 78bfbe5e5e

View File

@@ -339,8 +339,8 @@ public class ConfigManager
File tempFile = File.createTempFile("runelite", null, parent); File tempFile = File.createTempFile("runelite", null, parent);
try (FileOutputStream out = new FileOutputStream(tempFile); try (FileOutputStream out = new FileOutputStream(tempFile);
FileChannel channel = out.getChannel(); FileChannel channel = out.getChannel();
OutputStreamWriter writer = new OutputStreamWriter(out, StandardCharsets.UTF_8)) OutputStreamWriter writer = new OutputStreamWriter(out, StandardCharsets.UTF_8))
{ {
channel.lock(); channel.lock();
properties.store(writer, "RuneLite configuration"); properties.store(writer, "RuneLite configuration");