X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/221d937eecca5c9b09a3bee7df812203b9927a56..8dced20b0f448ddb003c2c20aaf71a2f7f751ce0:/src/main/java/org/asamk/signal/JsonWriter.java diff --git a/src/main/java/org/asamk/signal/JsonWriter.java b/src/main/java/org/asamk/signal/JsonWriter.java index e7549adf..20cf7bc1 100644 --- a/src/main/java/org/asamk/signal/JsonWriter.java +++ b/src/main/java/org/asamk/signal/JsonWriter.java @@ -18,8 +18,8 @@ public class JsonWriter { private final Writer writer; private final ObjectMapper objectMapper; - public JsonWriter(final OutputStream writer) { - this.writer = new BufferedWriter(new OutputStreamWriter(writer, StandardCharsets.UTF_8)); + public JsonWriter(final OutputStream outputStream) { + this.writer = new BufferedWriter(new OutputStreamWriter(outputStream, StandardCharsets.UTF_8)); objectMapper = new ObjectMapper(); objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.PUBLIC_ONLY);